Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove invalid uses of AnyStr#452

Open
Brandieee wants to merge 1 commit into
pallets:main from
Brandieee:feature/fix-anystr-typing
Open

Remove invalid uses of AnyStr #452
Brandieee wants to merge 1 commit into
pallets:main from
Brandieee:feature/fix-anystr-typing

Conversation

@Brandieee

@Brandieee Brandieee commented Nov 21, 2025
edited
Loading

Copy link
Copy Markdown

As mentioned in issue, AnyStr is consistently used as outlined by the python docs how not to use it:
https://docs.python.org/3.14/library/typing.html#typing.AnyStr
and deprecated as of 3.13

This PR changes any occurences of AnyStr to str | bytes instead

fixes #451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Incorrect typing using AnyStr

1 participant

AltStyle によって変換されたページ (->オリジナル) /