Deprecate and schedule removal of collections.abc.ByteString and typing.ByteString
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.1k
Closed
Description
opened
on Apr 25, 2022The current docstring of collections.abc.ByteString is:
"""This unifies bytes and bytearray.
XXX Should add all their methods.
"""
Let's do that last thing. This will be useful for typing code that accepts both bytes and bytearray, especially with my proposal in PEP-688 to make bytes no longer acceptable as a shortcut for bytearray in the type system.
cc @rhettinger for collections.abc
Linked PRs
Metadata
Metadata
Assignees
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions