This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients belopolsky, chris.jerdonek, mcdonc, python-dev, sbt
Date 2012-09-10.13:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347282479.97.0.889385312068.issue15881@psf.upfronthosting.co.za>
In-reply-to
Content
I see the same error on Windows (when pressing ^C), but on Linux I get

Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 28, in _run_exitfuncs
    import traceback
  File "/usr/lib/python2.7/traceback.py", line 3, in <module>
    import linecache
  File "/usr/lib/python2.7/linecache.py", line 9, in <module>
    import os
  File "/usr/lib/python2.7/os.py", line 119, in <module>
    sys.modules['os.path'] = path
AttributeError: 'module' object has no attribute 'modules'

This also suggests that module teardown has begun before/while sys.exitfunc is running.
History
Date User Action Args
2012-09-10 13:08:00sbtsetrecipients: + sbt, belopolsky, mcdonc, chris.jerdonek, python-dev
2012-09-10 13:07:59sbtsetmessageid: <1347282479.97.0.889385312068.issue15881@psf.upfronthosting.co.za>
2012-09-10 13:07:59sbtlinkissue15881 messages
2012-09-10 13:07:59sbtcreate