[issue17852] Built-in module _io can loose data from buffered files at exit

Armin Rigo report at bugs.python.org
Thu Dec 4 15:06:01 CET 2014


Armin Rigo added the comment:

Here is a proof-of-concept.  It changes both _pyio.py and bufferedio.c and was tested with the examples here.  (See what I meant with "linked lists".)  The change in textio.c is still missing, but should be very similar to bufferedio.c.  This is similar to the implementation in PyPy.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17852>
_______________________________________


More information about the Python-bugs-list mailing list