This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ajaksu2
Recipients ajaksu2, alexandre.vassalotti, hagen
Date 2008-08-28.16:40:59
SpamBayes Score 0.00011897992
Marked as misclassified No
Message-id <>
does this simple patch (against 2.6) solve it for you?

Index: Lib/
--- Lib/       (revision 66050)
+++ Lib/       (working copy)
@@ -1121,6 +1121,8 @@

     def find_class(self, module, name):
         # Subclasses may override this
+        if module == "builtins":
+            module = "__builtin__"
         mod = sys.modules[module]
         klass = getattr(mod, name)

I think a dict mapping the moved modules would work better, perhaps
having it in PyPI would be enough?
Date User Action Args
2008-08-28 16:42:00ajaksu2setrecipients: + ajaksu2, alexandre.vassalotti, hagen
2008-08-28 16:42:00ajaksu2setmessageid: <>
2008-08-28 16:41:00ajaksu2linkissue3675 messages
2008-08-28 16:40:59ajaksu2create