[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
More information about the Python-Dev mailing list
Mon Mar 10 15:01:49 CET 2014
- Previous message: [Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?
- Next message: [Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?
- Next message: [Python-Dev] Python 3.4 change in importlib/__init__.py breaking cxFreeze?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list