Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Bumpenum
to 3.14#14021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Bumpenum
to 3.14#14021
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
stdlib/inspect.pyi Outdated
POSITIONAL_ONLY: ClassVar[Literal[0]] | ||
POSITIONAL_OR_KEYWORD: ClassVar[Literal[1]] | ||
VAR_POSITIONAL: ClassVar[Literal[2]] | ||
KEYWORD_ONLY: ClassVar[Literal[3]] | ||
VAR_KEYWORD: ClassVar[Literal[4]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
That's not true, at least not for Python 3.12:
Python 3.12.3 (main, Feb 4 2025, 14:48:35) [GCC 13.3.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import inspect>>> inspect.Parameter.POSITIONAL_ONLY<_ParameterKind.POSITIONAL_ONLY: 0>>>> type(inspect.Parameter.POSITIONAL_ONLY)<enum '_ParameterKind'>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
thanks you, this was an attempt to solvethis error. apparently I was too hasty in getting the PR ready for review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I suspect it's because you madeenum
importinspect
and that disturbed some import cycle. As you can see from the mypy-primer report, this change is going to cause a lot of issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
you're right because these errors appeared when i added import
According tomypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
No description provided.