[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

Jurko Gospodnetić report at bugs.python.org
Wed Mar 12 10:36:26 CET 2014


Jurko Gospodnetić added the comment:

As mentioned by Anthony Tuininga at:

  https://bitbucket.org/anthony_tuininga/cx_freeze/issue/61/python-340-nameerror-name-__file__-is-not#comment-9077661

The value of __file__ in the problematic importlib/__init__.py
module with Python 3.3. is '<frozen>' while with Python 3.4 it is
not defined.

And this '<frozen>' string seems to be something coming from Python
and not cx_Freeze (I see it in 'Python/import.c' in both Python
3.3.5 & 3.4).

Hope this helps.

Best regards,
  Jurko Gospodnetić

----------

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


More information about the Python-bugs-list mailing list