[pypy-svn] r71218 - pypy/trunk/pypy/objspace/std

benjamin at codespeak.net benjamin at codespeak.net
Sun Feb 14 01:07:46 CET 2010


Author: benjamin
Date: Sun Feb 14 01:07:45 2010
New Revision: 71218

Modified:
   pypy/trunk/pypy/objspace/std/objspace.py
Log:
remove set compatibility code

Modified: pypy/trunk/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/objspace.py	(original)
+++ pypy/trunk/pypy/objspace/std/objspace.py	Sun Feb 14 01:07:45 2010
@@ -24,19 +24,6 @@
 import os
 import __builtin__
 
-#check for sets
-try:
-    s = set()
-    del s
-except NameError:
-    try:
-        from sets import Set as set
-        from sets import ImmutableSet as frozenset
-    except ImportError:
-        class DummySet(object):pass
-        set = DummySet
-        frozenset = DummySet
-
 _registered_implementations = {}
 def registerimplementation(implcls):
     # hint to objspace.std.model to register the implementation class



More information about the Pypy-commit mailing list