Barry A. Warsaw added the comment:

I'm -0 on this patch.  I can understand that in some sense, frozen modules do 
semantically have an associated file, but OTOH, once they're frozen the 
connection to their file is broken.  Also, I think anything that assumes 
__file__ exists is simply broken and should be fixed.  There are other cases 
than frozen modules where a module would have no reasonable value for __file__ 
and thus shouldn't have one.

----------

_______________________________________
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

Reply via email to