Stop trying to use _xmlplus in the xml module. Closes #11164.

Patch by Arfrever Frehtes Taifersar Arahesis.
This commit is contained in:
Martin v. Löwis 2011-05-09 08:05:43 +02:00
parent 8269a44d50
commit 2f48d892d4
9 changed files with 10 additions and 105 deletions

View file

@ -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):