STINNER Victor <victor.stin...@gmail.com> added the comment:

memory_watchdog.py should probably use sys.stdout.flush(), and you should 
replace print("...") by sys.stdout.write("...\n") to only call sys.stdout.write 
once (print calls write a second time just to write the newline).

+1 for the subprocess instead of the thread.

----------

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

Reply via email to