[issue20942] _frozen_importlib should not have a __file__ attribute

Brett Cannon report at bugs.python.org
Fri Mar 28 14:49:16 CET 2014


Brett Cannon added the comment:

It actually does break backwards-compatibility as an attribute will disappear on frozen modules for anyone who uses the imp API. While the chances of actually breaking someone's code is very small, there is still a chance. But I'm only -0 on backporting so other core devs could convince me that I'm being overly cautious.

----------
versions:  -Python 3.4

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


More information about the Python-bugs-list mailing list