[issue2356] fixer for sys.exitfunc -> atexit

Armin Ronacher report at bugs.python.org
Mon Dec 8 12:55:59 CET 2008


Armin Ronacher <armin.ronacher at active-4.com> added the comment:

Since yesterday there is a handy little helper that adds imports to
files which is already used for the reduce() / intern() fixers.  This
makes this fix a lot easier.

I attached a version that does that.

However the import adder is not yet as sophisticated as the one in the
previous patch, but the utility method could be improved to better adapt
to existing styleguides.

----------
nosy: +aronacher
Added file: http://bugs.python.org/file12279/fix_exitfunc.diff

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


More information about the Python-bugs-list mailing list