diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2015-09-05 11:05:05 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2015-09-05 11:05:05 (GMT) |
commit | 9d3c61c86a20678d604c96a68bbf4a966877f0b9 (patch) | |
tree | 77e38b72e9258da435606d28543cc0362787eeff /Lib/test/imp_dummy.py | |
parent | 1b6691053701e92490c6b68171d6d6a645f8e708 (diff) | |
download | cpython-9d3c61c86a20678d604c96a68bbf4a966877f0b9.zip cpython-9d3c61c86a20678d604c96a68bbf4a966877f0b9.tar.gz cpython-9d3c61c86a20678d604c96a68bbf4a966877f0b9.tar.bz2 |
Close #24748: Restore imp.load_dynamic compatibility
To resolve a compatibility problem found with py2exe and
pywin32, imp.load_dynamic() once again ignores previously loaded modules
to support Python modules replacing themselves with extension modules.
Patch by Petr Viktorin.
Diffstat (limited to 'Lib/test/imp_dummy.py')
-rw-r--r-- | Lib/test/imp_dummy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/imp_dummy.py b/Lib/test/imp_dummy.py new file mode 100644 index 0000000..2a4deb4 --- /dev/null +++ b/Lib/test/imp_dummy.py @@ -0,0 +1,3 @@ +# Fodder for test of issue24748 in test_imp + +dummy_name = True |