[pypy-svn] r12408 - pypy/dist/lib-python/modified-2.3.4

cfbolz at codespeak.net cfbolz at codespeak.net
Tue May 17 13:30:36 CEST 2005


Author: cfbolz
Date: Tue May 17 13:30:36 2005
New Revision: 12408

Added:
   pypy/dist/lib-python/modified-2.3.4/sre_compile.py
      - copied, changed from r12405, pypy/dist/lib-python/2.3.4/sre_compile.py
Log:
issue42 testing

I changed the assert statement to make it compatible with CPython 2.4.



Copied: pypy/dist/lib-python/modified-2.3.4/sre_compile.py (from r12405, pypy/dist/lib-python/2.3.4/sre_compile.py)
==============================================================================
--- pypy/dist/lib-python/2.3.4/sre_compile.py	(original)
+++ pypy/dist/lib-python/modified-2.3.4/sre_compile.py	Tue May 17 13:30:36 2005
@@ -14,7 +14,7 @@
 
 from sre_constants import *
 
-assert _sre.MAGIC == MAGIC, "SRE module mismatch"
+assert _sre.MAGIC >= MAGIC, "SRE module mismatch"
 
 if _sre.CODESIZE == 2:
     MAXCODE = 65535



More information about the Pypy-commit mailing list