[issue17852] Built-in module _io can loose data from buffered files at exit
Antoine Pitrou
report at bugs.python.org
Thu Dec 4 12:06:59 CET 2014
Antoine Pitrou added the comment:
Le 04/12/2014 12:05, STINNER Victor a écrit :
>
>> The problem is that the order of tp_finalize calls is arbitrary
>> when
there is a reference cycle
>
> If we want to guaranty that all files are properly flushed at exit,
the best option is to maintain a list of open files.
I am not talking about files flushing at exit.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17852>
_______________________________________
More information about the Python-bugs-list
mailing list