PEP 782: Add PyBytesWriter C API

Hi Victor,

On behalf of the Steering Council, I am pleased to inform you that we approve PEP 782. Congratulations!

We also have some minor requests we would like to see once this is implemented:

  • Thread-safety documentation: Please ensure that API documentation explicitly states whether each API is thread-safe. This follows the consensus established after PEP 779.
  • Discard/Finish API: As some APIs cannot be called after the Discard/Finish API is invoked, to avoid user confusion, please clearly document what APIs can be called after calling either the Discard or Finish APIs.

We appreciate your patience and thank you again for your effort!

Warm regards,
Donghee
(on behalf of the Python Steering Council)

15 Likes