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 amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2008-10-30.00:57:42
SpamBayes Score 1.3905149e-06
Marked as misclassified No
Message-id <1225328266.56.0.143062114726.issue4236@psf.upfronthosting.co.za>
In-reply-to
Content
The following interactive session crashes the interpreter on shutdown:

>>> class C:
...   def __del__(self):
...      import warnings
...
>>> C()
<__main__.C object at 0x00C29D58>
>>> ^Z
Fatal Python error: Interpreter not initialized (version mismatch?)


This problem actually happens with the file object, which can call PyErr_WarnEx when it 
is deallocated and closed, see example in issue4226.
This "Fatal" message is new in 3.0. If I ignore it all seems correct, and the module is 
correctly imported.
History
Date User Action Args
2008-10-30 00:57:47amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2008-10-30 00:57:46amaury.forgeotdarcsetmessageid: <1225328266.56.0.143062114726.issue4236@psf.upfronthosting.co.za>
2008-10-30 00:57:45amaury.forgeotdarclinkissue4236 messages
2008-10-30 00:57:42amaury.forgeotdarccreate