Brett Cannon <[EMAIL PROTECTED]> added the comment: On Thu, Aug 21, 2008 at 6:43 AM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > This is going to be very hard to implement without module descriptors. > It might be better to make a 2to3 fixer which inserts an import too. >
So for every sys import you are going to add an "import atexit"? That doesn't seem reasonable. And if the call is in an expression context you definitely cannot add the import. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com