[issue20942] _frozen_importlib should not have a __file__ attribute

Eric Snow report at bugs.python.org
Fri Mar 28 18:57:14 CET 2014


Eric Snow added the comment:

As I've thought about it, I've gone from -0 to +1 on applying this to both 3.4 and 3.5.  The bug and fix should impact very little* code.  In fact, I doubt anyone would have noticed if Nick hadn't. :)  It would be nice to have this right in 3.4.

* Effectively this is limited to consumers of imp.init_frozen(), PyImport_ImportFrozenModule(), and PyImport_ImportFrozenModule().  That includes importing frozen importlib and Py_FrozenMain().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20942>
_______________________________________


More information about the Python-bugs-list mailing list