A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-March/133018.html below:

[Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?

[Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze? [Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?Barry Warsaw barry at python.org
Mon Mar 10 15:01:49 CET 2014
On Mar 10, 2014, at 11:25 PM, Nick Coghlan wrote:

>__file__ is expected to always be set (including when loaded from a zipfile

Actually, __file__ is an optional attribute on modules since PEP 420 and
Python 3.2.  It's *usually* there, but unlike in previous version of Python,
if the module doesn't actually come from a "file", there's no longer a
requirement to craft some mythical value for it if it doesn't make sense.

-Barry
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4