[issue1257] atexit errors should result in nonzero exit code

ysj.ray report at bugs.python.org
Wed Mar 30 15:57:53 CEST 2011


ysj.ray <ysj.ray at gmail.com> added the comment:

I think there is no need to implement this in python2.x since it's a  behavior change which could introduce some compatibility issues to someone's code, besides in 2.x both sys.exitfunc and atexit module should be considered, that makes the code looks complex. The sys.exitfunc is removed in 3.x.

+1 on only implementing it in 3.3.

----------
nosy: +ysj.ray
versions: +Python 3.3

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


More information about the Python-bugs-list mailing list