comment
authorStefan Behnel <scoder@users.berlios.de>
Fri, 22 Oct 2010 14:55:39 +0000 (16:55 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 22 Oct 2010 14:55:39 +0000 (16:55 +0200)
runtests.py

index 150b5f7d26df9ee605c62705a29589a42edc1d22..8c28d719ee3fdef5c36f942c3d370440e7a162c1 100644 (file)
@@ -869,6 +869,8 @@ if __name__ == '__main__':
                 # try if Cython is installed in a Py3 version
                 import Cython.Compiler.Main
             except Exception:
+                # back out anything the import process loaded, then
+                # 2to3 the Cython sources to make them re-importable
                 cy_modules = [ name for name in sys.modules
                                if name == 'Cython' or name.startswith('Cython.') ]
                 for name in cy_modules: