Uh oh!
There was an error while loading. Please reload this page.
[stdlib] Deprecate old functions - #14553
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
AlexWaygood
left a comment
There was a problem hiding this comment.
Thanks, this is great! I really like that you took care to only add @deprecated for the Python versions where APIs actually caused a deprecation warning to be emitted at runtime. Just some nits about error messages:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
donbarbos
commented
Aug 10, 2025
Thank you for review |
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Uh oh!
There was an error while loading. Please reload this page.
Next deprecations were found using grep
version_info <and only if somewhere in docs or source code it was said that it was deprecated, I would add the@deprecated:tkintersplit() method cpython#28237PS: I just want to clarify that I’m not aiming to mark every deprecated function, only the ones that seem most obvious. Also, for functions deprecated since 3.10, I don’t feel that adding sys.version_info check is necessary.