Marc-Andre Lemburg added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com