Message6813

Author amak
Recipients amak, yyamano
Date 2012-03-17.22:50:57
SpamBayes Score 1.6995161e-10
Marked as misclassified No
Message-id <1332024658.04.0.866276834475.issue1707@psf.upfronthosting.co.za>
In-reply-to
Content
Closing this bug: jython's handling of this invalid input is correct. I.e. The exception

UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 2-8: illegal Unicode character

Is entirely accurate: the input is invalid and cannot be decoded.

As discussed, this is because java (and thus jython) uses UTF-16 as an internal representation.

Cpython, on the other hand, uses UCS-2, so this is a valid test for cpython.
History
Date User Action Args
2012-03-17 22:50:58amaksetmessageid: <1332024658.04.0.866276834475.issue1707@psf.upfronthosting.co.za>
2012-03-17 22:50:58amaksetrecipients: + amak, yyamano
2012-03-17 22:50:58amaklinkissue1707 messages
2012-03-17 22:50:57amakcreate