Issue1306231

classification
Title: AssertionError: SRE
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: kzuberi
Priority: normal Keywords:

Created on 2005-09-27.20:42:12 by anonymous, last changed 2005-11-15.22:56:09 by kzuberi.

Messages
msg1046 (view) Author: Nobody/Anonymous (nobody) Date: 2005-09-27.20:42:12
>>> import re
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/home/hdiwan/Jython/dist/./Lib/re.py", line 7, in ?
  File "/home/hdiwan/Jython/dist/./Lib/sre.py", line
97, in ?
  File "/home/hdiwan/Jython/dist/./Lib/sre_compile.py",
line 17, in ?
AssertionError: SRE module mismatch
msg1047 (view) Author: Khalid Zuberi (kzuberi) Date: 2005-11-15.22:56:09
Logged In: YES 
user_id=18288


Well i don't see this in 2.1 or 2.2a1. The line raising the
exception reads:

  assert _sre.MAGIC == MAGIC, "SRE module mismatch"

But the constants correctly match in the sources. I checked
the cpython sources, and see that a change was made:

  http://svn.python.org/view?rev=32321&view=rev

Which i believe was between 2.2 and 2.3 (the jython value
matches the cpython 2.2 value). So i suspect the submitter
was building jython configured with cpython >= 2.3. 

So this tracker item can probably just be closed.

- kz
History
Date User Action Args
2005-09-27 20:42:12anonymouscreate