Issue2341

classification
Title: Invalid Unicode string literals cause console to keep outputting "..."
Type: behaviour Severity: minor
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, gsnedders, zyasoft
Priority: normal Keywords:

Created on 2015-04-25.23:02:24 by gsnedders, last changed 2018-03-22.08:41:59 by jeff.allen.

Messages
msg9964 (view) Author: Geoffrey Sneddon (gsnedders) Date: 2015-04-25.23:02:24
For example:

>>> print u"\uD801\uDC37"
... 
... 
... 
... '
  File "<stdin>", line 5
    '
    ^
SyntaxError: no viable alternative at character '''

I'd expect the syntax error to be raised immediately after the string has been typed. (Also, ' is a valid character then!)
History
Date User Action Args
2018-03-22 08:41:59jeff.allensetpriority: normal
milestone: Jython 2.7.2 ->
2016-02-08 15:57:47zyasoftsetnosy: + zyasoft
2016-02-08 15:57:40zyasoftsetnosy: + fwierzbicki
2015-12-29 23:41:45zyasoftsetresolution: accepted
milestone: Jython 2.7.2
2015-04-25 23:02:24gsnedderscreate