-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionenhancement requestNew feature or requestNew feature or request
Description
PEP 688 aims to remove a poorly-documented "hack" in the type system, namely that bytearray and memoryview should be treated as implicit subtypes of bytes even though they have no runtime subclass relationship.
PEP 688 recommends that type checkers deprecate and remove this support. I don't see a good way to do this gradually, so I'm tempted to "rip the bandaid off" and remove the old support.
I'll do a mypy_primer run to inform the decision.
@JelleZijlstra, what are your thoughts? Too soon?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionenhancement requestNew feature or requestNew feature or request