Author brett.cannon
Recipients Arfrever, Trundle, barry, brett.cannon, eric.smith, eric.snow, jcea, jkloth, lemburg, loewis, meador.inge
Date 2013-01-02.16:53:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357145634.77.0.779472140311.issue16047@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that it makes no sense to define __file__ for frozen modules. Originally they did because that was the only way to tell if a module was a builtin module or not, but with the imp module's API on top of sys.builtin_module_names, there is no need to maintain this invariant.

As for site.py requiring the module to have a __file__ on os, I think that is somewhat bogus as well and should be optional so issue (3) for Meador should be to patch site.py to not flat-out require os.__file__ exist.
History
Date User Action Args
2013-01-02 16:53:54brett.cannonsetrecipients: + brett.cannon, lemburg, loewis, barry, jcea, eric.smith, jkloth, Arfrever, Trundle, meador.inge, eric.snow
2013-01-02 16:53:54brett.cannonsetmessageid: <1357145634.77.0.779472140311.issue16047@psf.upfronthosting.co.za>
2013-01-02 16:53:54brett.cannonlinkissue16047 messages
2013-01-02 16:53:54brett.cannoncreate