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 lemburg
Recipients lemburg
Date 2014-06-12.16:14:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The missing __file__ attribute on frozen modules causes lots of issues with the stdlib (see e.g. Issue21709 and the stdlib test suite) and other tools that expect this attribute to always be present.

The attached patch for 3.4.1 adds this attribute to all frozen modules and resolves most issues. It cannot resolve the problem of not necessarily finding the directories/files listed in those attributes, but at least makes it possible to continue using code that only uses the attribute for error reporting.
Date User Action Args
2014-06-12 16:14:49lemburgsetrecipients: + lemburg
2014-06-12 16:14:49lemburgsetmessageid: <>
2014-06-12 16:14:48lemburglinkissue21736 messages
2014-06-12 16:14:48lemburgcreate