Skip to content

Revert "Byestring removal for 3.14 (#12490)"#14743

Merged
srittau merged 2 commits into
mainfrom
add-back-bytestring
Sep 19, 2025
Merged

Revert "Byestring removal for 3.14 (#12490)"#14743
srittau merged 2 commits into
mainfrom
add-back-bytestring

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

This reverts commit 8a7f09e.

ByteString was added back to Python 3.14 at the last minute, since several users reported that the deprecation warnings had not been prominent enough prior to its removal. It is still scheduled to be removed, but its removal has been postponed to 3.17.

Helps with #14741

@github-actions

This comment has been minimized.

@AlexWaygood AlexWaygood marked this pull request as draft September 18, 2025 18:16
@AlexWaygood AlexWaygood marked this pull request as ready for review September 18, 2025 18:43
@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

discord.py (https://github.com/Rapptz/discord.py)
- ...typeshed_to_test/stdlib/typing.pyi:1043: note: "update" of "TypedDict" defined here
+ ...typeshed_to_test/stdlib/typing.pyi:1040: note: "update" of "TypedDict" defined here

@srittau srittau merged commit cc0ce1e into main Sep 19, 2025
60 of 63 checks passed
@srittau srittau deleted the add-back-bytestring branch September 19, 2025 07:09
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

Successfully merging this pull request may close these issues.

2 participants