diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:05:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:05:43 (GMT) |
commit | 2f48d892d4036b500f5b79d152b3166b4d205dc9 (patch) | |
tree | 84b7b98bf34da03b275e04726884c27ec33c917b /Lib/modulefinder.py | |
parent | 8269a44d5095cbd0c351aedc41272e9a6d91c269 (diff) | |
download | cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.zip cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.tar.gz cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.tar.bz2 |
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Lib/modulefinder.py')
-rw-r--r-- | Lib/modulefinder.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/modulefinder.py b/Lib/modulefinder.py index 478c749..5a8942a 100644 --- a/Lib/modulefinder.py +++ b/Lib/modulefinder.py @@ -35,9 +35,10 @@ def AddPackagePath(packagename, path): replacePackageMap = {} -# This ReplacePackage mechanism allows modulefinder to work around the -# way the _xmlplus package injects itself under the name "xml" into -# sys.modules at runtime by calling ReplacePackage("_xmlplus", "xml") +# This ReplacePackage mechanism allows modulefinder to work around +# situations in which a package injects itself under the name +# of another package into sys.modules at runtime by calling +# ReplacePackage("real_package_name", "faked_package_name") # before running ModuleFinder. def ReplacePackage(oldname, newname): |