[issue16718] Mysterious atexit fail

Serhiy Storchaka report at bugs.python.org
Tue Dec 18 21:48:26 CET 2012


Serhiy Storchaka added the comment:

It's because _Cleanup is None (as all global variables) when atexit registered functions executed. Don't use globals in such code.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16718>
_______________________________________


More information about the Python-bugs-list mailing list