diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-07 16:50:40 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-07 16:50:40 -0500 |
| commit | c5958f26680b8bfad10d0ec03a613725c9a4c580 (patch) | |
| tree | 8762dcd99cb623b99659b09fdb4b2127b177b6cd /pkg_resources | |
| parent | 2d25ca89318922e63b74c37e36d099173cf0da5a (diff) | |
| download | external_python_setuptools-c5958f26680b8bfad10d0ec03a613725c9a4c580.tar.gz external_python_setuptools-c5958f26680b8bfad10d0ec03a613725c9a4c580.tar.bz2 external_python_setuptools-c5958f26680b8bfad10d0ec03a613725c9a4c580.zip | |
Also remove mysterious hack from pkg_resources.extern
Diffstat (limited to 'pkg_resources')
| -rw-r--r-- | pkg_resources/extern/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg_resources/extern/__init__.py b/pkg_resources/extern/__init__.py index c1eb9e99..bf98d8f2 100644 --- a/pkg_resources/extern/__init__.py +++ b/pkg_resources/extern/__init__.py @@ -43,13 +43,6 @@ class VendorImporter: __import__(extant) mod = sys.modules[extant] sys.modules[fullname] = mod - # mysterious hack: - # Remove the reference to the extant package/module - # on later Python versions to cause relative imports - # in the vendor package to resolve the same modules - # as those going through this importer. - if prefix and sys.version_info > (3, 3): - del sys.modules[extant] return mod except ImportError: pass |
