[issue14154] reimplement the bigmem test memory watchdog as a subprocess

STINNER Victor report at bugs.python.org
Mon Mar 19 23:12:08 CET 2012


STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14154>
_______________________________________


More information about the Python-bugs-list mailing list