Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7024059
By: jhgarrison

IDLE (3.1a1) accepts

    a,*b = re.split(str,pattern)

and does the right thing ('a' gets the first result and 'b' gets
the rest).

pydev configured to use the exact same Python 3.1a1 runtime flags this
as a syntax error:

Encountered "*" at line 32, column 23. Was expecting one of: <NEWLINE> ... 
";" ...     "=" ...
 "+=" ...     "-=" ...     "*=" ...     "/=" ...     "//=" ...     "%=" ...
"&=" ...     "|=" ...     "^=" ...
 "<<=" ...     ">>=" ...     "**=" ...     "lambda" ...     "not" ...    "+"
...     "-" ...     "~" ...     "(" ...
 "[" ...     "{" ...     "False" ...     "True" ...     "None" ... <NAME> ...
<HEXNUMBER> ...
 <OCTNUMBER> ...     <DECNUMBER> ...     <FLOAT> ...     <COMPLEX> ...     "\'"
...     "\"" ...
 "\'\'\'" ...     "\"\"\"" ...     "\'" ...     "\"" ...     "\'\'\'" ...  
"\"\"\"" ...


HOWEVER, I can execute the code without problems.


Should I file a bug?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to