-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update sys.monitoring for 3.14 #14288
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 our terms of service and privacy 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?
Conversation
|
||
def use_tool_id(tool_id: int, name: str, /) -> None: ... | ||
def free_tool_id(tool_id: int, /) -> None: ... | ||
def get_tool(tool_id: int, /) -> str | None: ... | ||
|
||
events: _events | ||
events: Final[_events] |
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.
Realistically not seeing why this shouldn't be final.
|
||
@final |
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.
Doesn't really exist at runtime.
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.
Shouldn't it use @type_check_only
in that case?
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
BRANCH_LEFT
andBRANCH_TAKEN
Final
qualifier throughout the module for contants.BRANCH
.