Message 220623 - Python tracker

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.

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.