STINNER Victor added the comment:

> It is possible that adding flush=True in print() will solve the issue.

I tried. It does not fix the issue.

Hint: On Windows, sys.stdout.encoding is a codec implemented in pure Python 
(ex: cp850). You should try to reproduce the issue on Linux using 
PYTHONIOENCODING=cp850.

Note: It looks like open() is no more available when C.__del__() is called.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to