Mike Bayer committed 1c70b52

- qualify the use of locals() based on python version in use, don't run for pypy, jython, should fix [ticket:1073]

Comments (0)

Files changed (1)


     __sa_instrumentation_manager__ = staticmethod(__sa_instrumentation_manager__)
     # This proves SA can handle a class with non-string dict keys
-    try:
+    if not util.pypy and not util.jython:
         locals()[42] = 99   # Don't remove this line!
-    except:
-        pass
     def __init__(self, **kwargs):
         for k in kwargs: