-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Milestone
Description
Current problem
Similar to deprecated-method
, we could have deprecated-attribute
to warn for uses like this:
>>> sqlite3.version_info
<stdin>:1: DeprecationWarning: version_info is deprecated and will be removed in Python 3.14
Desired solution
deprecated-attribute
message and then add attributes that were missed from python what's new documents, such as in 3.12:
- sqlite3.version
- sqlite3.version_info
- generator.throw
- agen.throw
- sys.last_type
- sys.last_value
- sys.last_traceback
- calendar.January
- calendar.February
Additional context
The generator changes might be difficult to make, but the sys
ones would be easy and high value because they were deprecated only in docs, not with code warnings.
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation