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 barry
Recipients Arfrever, Trundle, barry, brett.cannon, eric.smith, eric.snow, jcea, jkloth, lemburg, loewis, meador.inge
Date 2013-01-02.16:22:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20130102112210.6930ca1f@resist.wooz.org>
In-reply-to <1357142805.9.0.59504210268.issue16047@psf.upfronthosting.co.za>
Content
On Jan 02, 2013, at 04:06 PM, Meador Inge wrote:

>I am a little unsure about (3) since I am not sure why the __file__ attribute
>is being removed to begin with.  eric.smith?

This is related to PEP 420, which relaxes the requirement that all modules
have a __file__ attribute.  Now they only need it if it makes sense.  At the
time, we didn't think it made sense for frozen modules to have an __file__.
FrozenImporter.module_repr() provides a reasonable repr in the absence of
__file__.

I'm not sure what to do.  I still think it doesn't make a lot of sense for
frozen modules to have an __file__, but perhaps practicality beats purity
here.
History
Date User Action Args
2013-01-02 16:22:15barrysetrecipients: + barry, lemburg, loewis, brett.cannon, jcea, eric.smith, jkloth, Arfrever, Trundle, meador.inge, eric.snow
2013-01-02 16:22:15barrylinkissue16047 messages
2013-01-02 16:22:15barrycreate