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 <rep...@bugs.python.org> <http://bugs.python.org/issue17852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com