[pypy-svn] r28410 - pypy/dist/pypy/translator/js2
fijal at codespeak.net
fijal at codespeak.net
Tue Jun 6 19:37:05 CEST 2006
Author: fijal
Date: Tue Jun 6 19:37:04 2006
New Revision: 28410
Modified:
pypy/dist/pypy/translator/js2/jts.py
Log:
Compatibility issue with sets on python2.3.
Modified: pypy/dist/pypy/translator/js2/jts.py
==============================================================================
--- pypy/dist/pypy/translator/js2/jts.py (original)
+++ pypy/dist/pypy/translator/js2/jts.py Tue Jun 6 19:37:04 2006
@@ -13,6 +13,11 @@
from pypy.translator.js2.log import log
+try:
+ set
+except NameError:
+ from sets import Set as set
+
class JTS(object):
""" Class implementing JavaScript type system
calls with mapping similiar to cts
More information about the Pypy-commit
mailing list