summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-04-04 10:01:46 -0400
committerBrett Cannon <brett@python.org>2014-04-04 10:01:46 -0400
commit8e6501d00abb8b44f0e84b40c983732f1908c63d (patch)
tree27b7ecdb5c90fa7df7666542f9d207bfa731322a /Doc/c-api
parenteddbd4dc06f336f8555920f1fdbf3dab268d4686 (diff)
downloadcpython-8e6501d00abb8b44f0e84b40c983732f1908c63d.tar.gz
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/c-api')
-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 6cd2b8bea0..0dcac2d4cf 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)