STINNER Victor added the comment:

warn_shutdown.py: example of script emitting warning at shutdown. Depending on 
the timing, the warning is shown or not (replace "if 0:" with "if 1:" to always 
display the warning). This example is a simplified example of the original 
crasher: test_threading.test_4_daemon_threads().

----------
Added file: http://bugs.python.org/file32418/warn_shutdown.py

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

Reply via email to