Skip to content
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

Python 3.14 heads-up: removal of ByteString #631

Open
suve opened this issue Jan 9, 2025 · 0 comments
Open

Python 3.14 heads-up: removal of ByteString #631

suve opened this issue Jan 9, 2025 · 0 comments

Comments

@suve
Copy link

suve commented Jan 9, 2025

The collections.abc.ByteString type has been marked as deprecated since Python 3.12 and is slated to be removed in Python 3.14 (it has already been removed in the alpha releases, in fact).

Deprecated since version 3.12, will be removed in version 3.14: The ByteString ABC has been deprecated. For use in typing, prefer a union, like bytes | bytearray, or collections.abc.Buffer. For use as an ABC, prefer Sequence or collections.abc.Buffer.

This is currently used in the edid parser:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant