-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add stdlib deprecations from 3.12 #8856
Conversation
@@ -253,6 +257,12 @@ | |||
"unittest.TestLoader.loadTestsFromTestCase", | |||
"unittest.TestLoader.getTestCaseNames", | |||
}, | |||
(3, 12, 0): { | |||
"builtins.bool.__invert__", |
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.
This one doesn't have any effect because ~
is currently uninferable, but it doesn't hurt to have this here in case we fix it in astroid later.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8856 +/- ##
=======================================
Coverage 95.88% 95.88%
=======================================
Files 173 173
Lines 18552 18552
=======================================
Hits 17789 17789
Misses 763 763
|
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 98e454a |
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.
Thank you @jacobtylerwalls ! On the topic of deprecation did you see this thread ? (Nothing to do with the current MR, but it could make this simpler in the future :)
Type of Changes
Description
Add stdlib deprecations from Python 3.12. Some missing items are attributes, tracked in #8855.