@fay https://github.com/python/cpython/pull/139566 this is actually a reasonable response to be clear. but the incredibly poor documentation of the buffering arguments to the open() function is kind of remarkable
@fay i haven't considered investigating for a buffer overflow there yet. but the way cpython handles any type of string operation is:
- write three new bespoke files of C source code that do the same thing already done elsewhere
- expose an inefficient interface
- LGTM