Replace `PyBytes_FromStringAndSize()` and `_PyBytes_Resize()` with `PyBytesWriter` API (PEP 782) in Unicode codecs <!-- gh-linked-prs --> ### Linked PRs * gh-139157 * gh-139233 * gh-139248 * gh-139249 * gh-139250 * gh-139251 * gh-139253 * gh-139259 * gh-139284 * gh-139306 <!-- /gh-linked-prs -->
Replace
PyBytes_FromStringAndSize()and_PyBytes_Resize()withPyBytesWriterAPI (PEP 782) in Unicode codecsLinked PRs