[pypy-commit] pypy py3k: urlparse and compiler.misc no longer exists. Replace also distutils.core with

antocuni noreply at buildbot.pypy.org
Mon Feb 27 17:00:28 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52936:e838b0057e5d
Date: 2012-02-27 15:02 +0100
http://bitbucket.org/pypy/pypy/changeset/e838b0057e5d/

Log:	urlparse and compiler.misc no longer exists. Replace also
	distutils.core with html.parser, because it's much faster to import

diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -1135,7 +1135,7 @@
         sys.path_hooks.append(ImpWrapper)
         sys.path_importer_cache.clear()
         try:
-            mnames = ("colorsys", "urlparse", "distutils.core", "compiler.misc")
+            mnames = ("colorsys", "html.parser")
             for mname in mnames:
                 parent = mname.split(".")[0]
                 for n in sys.modules.keys():


More information about the pypy-commit mailing list