Author lemburg
Recipients lemburg
Date 2014-06-12.16:14:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402589689.02.0.501075866976.issue21736@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-12 16:14:49lemburgsetrecipients: + lemburg
2014-06-12 16:14:49lemburgsetmessageid: <1402589689.02.0.501075866976.issue21736@psf.upfronthosting.co.za>
2014-06-12 16:14:48lemburglinkissue21736 messages
2014-06-12 16:14:48lemburgcreate