Skip to content

Python 3.14 heads-up: removal of ByteString #631

@suve

Description

@suve

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:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions