Skip to content

gh-155742: Use PyBytesWriter in json _match_number_unicode() - #155744

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:json_writer
Open

gh-155742: Use PyBytesWriter in json _match_number_unicode()#155744
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:json_writer

Conversation

@vstinner

@vstinner vstinner commented Aug 13, 2026

Copy link
Copy Markdown
Member

Replace soft deprecated PyBytes_FromStringAndSize() with PyBytesWriter.

Use PyBytesWriter_Create() for the float code path, or PyMem_Malloc() for the int code path.

Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.

Use PyBytesWriter_Create() for the float code path, or PyMem_Malloc()
for the int code path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant