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 barry, brett.cannon, eric.snow, lemburg, ncoghlan
Date 2014-06-15.09:22:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <539D65D1.3010606@egenix.com>
In-reply-to <CADiSq7d_SNdo3EWOxTmcAdWPtQRi_UoZb+zxwHZG4PXQf+z+pg@mail.gmail.com>
Content
On 15.06.2014 01:53, Nick Coghlan wrote:
> 
> Can we just drop "__file__" and set the origin for frozen modules to
> something that includes the original file name?

This wouldn't really help, because too much code out there uses
the __file__ attribute and assumes it's always available.

Note that the filename information is already available in the
code object's co_filename attribute.
History
Date User Action Args
2014-06-15 09:22:27lemburgsetrecipients: + lemburg, barry, brett.cannon, ncoghlan, eric.snow
2014-06-15 09:22:27lemburglinkissue21736 messages
2014-06-15 09:22:27lemburgcreate