Issue442649

classification
Title: re module fails.
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn, nobody
Priority: normal Keywords:

Created on 2001-07-19.03:02:28 by anonymous, last changed 2001-07-29.19:00:29 by nobody.

Messages
msg349 (view) Author: Nobody/Anonymous (nobody) Date: 2001-07-19.03:02:28
Jython 2.0 on java1.1.8 (JIT: MRJ22Jitc.01)
Type "copyright", "credits" or "license" for more 
information.
>>> import re
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/MAC HD/System 
Folder/Preferences/jython-2.0/Lib/re.py", line 28, in ?
  File "/MAC HD/System 
Folder/Preferences/jython-2.0/Lib/sre.py", line 20, in 
?
  File "/MAC HD/System 
Folder/Preferences/jython-2.0/Lib/sre_parse.py", line 
504
SyntaxError: inconsistent dedent
>>> 

I then checked sre_parse for dedent problems and found 
none.

This is on a MAC PPC iMac with 128 megs of built in 
memory.

Although I am quite familiar with python I know very 
little about jython or how it is constructed.  The same 
command works fine on my PC.

Regards
Otto
otto@o
msg350 (view) Author: Finn Bock (bckfnn) Date: 2001-07-19.07:20:38
Logged In: YES 
user_id=4201

It sounds a lot like the reader bug in MRJ which we added a 
workaround for in 2.1a1. Please retest with jython 2.1 and 
feel free to reopen the bug report it turns out that this 
is a new situation which isn't fixed in jython-2.1.
msg351 (view) Author: Nobody/Anonymous (nobody) Date: 2001-07-29.19:00:29
Logged In: NO 

Segested fix of using 2.1a1 worked.  Installed 2.1a2
Thanks
History
Date User Action Args
2001-07-19 03:02:28anonymouscreate