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 vstinner
Recipients pitrou, vstinner
Date 2011-07-03.22:46:57
SpamBayes Score 0.000250692
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
The assertion occurs in setup_context() of Python/_warnings.c, called by fileio_dealloc_warn(). The problem is that globals()['__file__'] is None.

Attached patch should fix this issue.
History
Date User Action Args
2011-07-03 22:46:57vstinnersetrecipients: + vstinner, pitrou
2011-07-03 22:46:57vstinnersetmessageid: <[email protected]>
2011-07-03 22:46:57vstinnerlinkissue12467 messages
2011-07-03 22:46:57vstinnercreate