[issue9788] atexit and execution order

Antoine Pitrou report at bugs.python.org
Tue Sep 7 16:20:40 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

LIFO looks preferable if you want your setup/teardown code to be properly nested (that is, if I set up A before B, I want B to be torn down before A).

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list