PEP 782 – Add PyBytesWriter C API

In the Python C API, I dislike APIs modifying immutable objects such as _PyBytes_Resize() . I designed a whole new PyBytesWriter API to replace this _PyBytes_Resize() function. As usual in Python, it took multiple iterations and one year to design the API and to reach an agreement. Picture: The Secret World …