Message71950
Here's my 2to3 fixer for the cause. It always changes assignment to
sys.exitfunc to atexit.register. It then inserts a "import atexit" after
the module's sys import. If it can't find a sys import (that should be
rare obviously :) ), it emits a warning. |
|
Date |
User |
Action |
Args |
2008-08-25 19:53:00 | benjamin.peterson | set | recipients:
+ benjamin.peterson, brett.cannon, collinwinter |
2008-08-25 19:53:00 | benjamin.peterson | set | messageid: <1219693980.3.0.355339077372.issue2356@psf.upfronthosting.co.za> |
2008-08-25 19:52:58 | benjamin.peterson | link | issue2356 messages |
2008-08-25 19:52:58 | benjamin.peterson | create | |
|