Skip to content

gh-129813, PEP 782: Remove the private _PyBytesWriter API - #139264

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_private_writer
Sep 23, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:remove_private_writer

Conversation

@vstinner

@vstinner vstinner commented Sep 23, 2025 •

Copy link
Copy Markdown
Member

It is now replaced with the new public PyBytesWriter API (PEP 782).

It is now replaced with the new public PyBytesWriter API (PEP 782).
@vstinner

vstinner commented Sep 23, 2025 •

Copy link
Copy Markdown
Member Author

A code search on _PyBytesWriter_Init in PyPI top 8,000 projects (at 2025-01-27) found a single match in the pickle5 project. This project is for Python 3.7 and older and is archived: https://pypi.org/project/pickle5/

@vstinner
vstinner enabled auto-merge (squash) September 23, 2025 15:16
@vstinner
vstinner merged commit dd45179 into python:main Sep 23, 2025
@vstinner
vstinner deleted the remove_private_writer branch September 23, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant