gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097) · python/cpython@4263bc3 · GitHub
Skip to content

Commit 4263bc3

Browse files
authored
gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097)
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize() with the new public PyBytesWriter API.
1 parent 3b83257 commit 4263bc3

1 file changed

Lines changed: 14 additions & 22 deletions

File tree

Modules/socketmodule.c

Lines changed: 14 additions & 22 deletions

0 commit comments

Comments
 (0)