Issue2252

classification
Title: 2.7b4 crashes if characters with ordinal > 255 used on CLI
Type: Severity: normal
Components: Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pekka.klarck, zyasoft
Priority: Keywords:

Created on 2015-01-14.20:17:11 by pekka.klarck, last changed 2015-01-22.20:28:49 by zyasoft.

Messages
msg9395 (view) Author: Pekka Klärck (pekka.klarck) Date: 2015-01-14.20:17:11
So far only tested on Linux. Can be reproduced, for example, as follows:

$ jython -c pass €
Exception in thread "main" java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
	at org.python.core.PyString.<init>(PyString.java:62)
	at org.python.core.PyString.<init>(PyString.java:68)
	at org.python.core.PySystemState.initArgv(PySystemState.java:1133)
	at org.python.core.PySystemState.doInitialize(PySystemState.java:1052)
	at org.python.core.PySystemState.initialize(PySystemState.java:973)
	at org.python.core.PySystemState.initialize(PySystemState.java:929)
	at org.python.core.PySystemState.initialize(PySystemState.java:924)
	at org.python.util.jython.run(jython.java:235)
	at org.python.util.jython.main(jython.java:145)
msg9397 (view) Author: Jim Baker (zyasoft) Date: 2015-01-15.02:08:59
Fixed as of https://hg.python.org/jython/rev/d3473cb18d9e
History
Date User Action Args
2015-01-22 20:28:49zyasoftsetstatus: pending -> closed
2015-01-15 02:09:00zyasoftsetstatus: open -> pending
resolution: fixed
messages: + msg9397
nosy: + zyasoft
2015-01-14 20:17:11pekka.klarckcreate