[issue26720] memoryview from BufferedWriter becomes garbage
Serhiy Storchaka
report at bugs.python.org
Sun Apr 17 15:19:30 EDT 2016
Serhiy Storchaka added the comment:
Python implementation passes bytearray to underlying write and delete it's content just after that. Thus saving written data was never worked, and making it working don't worth efforts. I agree with you, we should add a warning against saving. This might be a part of issue20699.
As for original issue, this is potential crash, and we should fix this.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26720>
_______________________________________
More information about the Python-bugs-list
mailing list