gh-129813, PEP 782: Use PyBytesWriter in utf8_encoder() (#138874) · python/cpython@8cfd7b4 · GitHub
Skip to content

Commit 8cfd7b4

Browse files
authored
gh-129813, PEP 782: Use PyBytesWriter in utf8_encoder() (#138874)
Replace the private _PyBytesWriter API with the new public PyBytesWriter API in utf8_encoder() and unicode_encode_ucs1().
1 parent 49e83e3 commit 8cfd7b4

2 files changed

Lines changed: 98 additions & 77 deletions

File tree

Objects/stringlib/codecs.h

Lines changed: 35 additions & 23 deletions

0 commit comments

Comments
 (0)