diff options
author | Brett Cannon <brett@python.org> | 2014-04-04 14:01:46 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-04-04 14:01:46 (GMT) |
commit | 18fc4e70f3cd18803fda01667dcc0d6bab9f9b25 (patch) | |
tree | 5b01575e997069c6e84094e4604a63f20f9a3ad4 /Doc | |
parent | 1cd9825457604b04fcfeb0679ea30f98fd294efd (diff) | |
download | cpython-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.rst | 3 |
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) |