diff options
author | Brett Cannon <brett@python.org> | 2014-04-04 10:01:46 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-04-04 10:01:46 -0400 |
commit | 8e6501d00abb8b44f0e84b40c983732f1908c63d (patch) | |
tree | 27b7ecdb5c90fa7df7666542f9d207bfa731322a /Doc/c-api | |
parent | eddbd4dc06f336f8555920f1fdbf3dab268d4686 (diff) | |
download | cpython-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.rst | 3 |
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) |