summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-04-04 14:01:46 (GMT)
committerBrett Cannon <brett@python.org>2014-04-04 14:01:46 (GMT)
commit18fc4e70f3cd18803fda01667dcc0d6bab9f9b25 (patch)
tree5b01575e997069c6e84094e4604a63f20f9a3ad4 /Doc
parent1cd9825457604b04fcfeb0679ea30f98fd294efd (diff)
downloadcpython-18fc4e70f3cd18803fda01667dcc0d6bab9f9b25.zip
cpython-18fc4e70f3cd18803fda01667dcc0d6bab9f9b25.tar.gz
cpython-18fc4e70f3cd18803fda01667dcc0d6bab9f9b25.tar.bz2
Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets
__file__. This causes _frozen_importlib to no longer have __file__ set as well as any frozen module imported using imp.init_frozen() (which is deprecated).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/import.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index 6cd2b8b..0dcac2d 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -245,6 +245,9 @@ Importing Modules
.. versionadded:: 3.3
+ .. versionchanged:: 3.4
+ The ``__file__`` attribute is no longer set on the module.
+
.. c:function:: int PyImport_ImportFrozenModule(const char *name)