diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-10-08 07:44:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 07:44:10 (GMT) |
commit | f07e2b64df6304a36fb5e29397d3c77a7ba17704 (patch) | |
tree | ab3e39e6fd0354efc337ed87c068346b16a3f8f9 /Misc | |
parent | 73ffd3f2036179ed54591ef0455e5ba5694ae5bd (diff) | |
download | cpython-f07e2b64df6304a36fb5e29397d3c77a7ba17704.zip cpython-f07e2b64df6304a36fb5e29397d3c77a7ba17704.tar.gz cpython-f07e2b64df6304a36fb5e29397d3c77a7ba17704.tar.bz2 |
bpo-31642: Restore blocking "from" import by setting None in sys.modules. (#3834)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-10-08-10-00-55.bpo-31642.1IKqgs.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-10-08-10-00-55.bpo-31642.1IKqgs.rst b/Misc/NEWS.d/next/Core and Builtins/2017-10-08-10-00-55.bpo-31642.1IKqgs.rst new file mode 100644 index 0000000..0cb540f --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-10-08-10-00-55.bpo-31642.1IKqgs.rst @@ -0,0 +1,2 @@ +Restored blocking "from package import module" by setting +sys.modules["package.module"] to None. |