Message11039
I guess I could easily fix this issue. However one decision puzzles me:
CPython rejects also extended askii cahracters in cStringIO, i.e. ordinal not in range(128). In contrast to that Jython used to throw an exception only if ordinal not in range(256) (see PyString.isBytes).
The example-code however fails in both cases, since it's not even extended ascii. Anyway, which version should trigger the UnicodeEncodeError?
On one hand I'd say stick to CPython-behavior. On the other hand I wouldn't want to break extisting code that might have been tested with the former Jython behavior. Opinions? |
|
Date |
User |
Action |
Args |
2017-01-27 16:57:06 | stefan.richthofer | set | messageid: <1485536226.75.0.424905944521.issue2527@psf.upfronthosting.co.za> |
2017-01-27 16:57:06 | stefan.richthofer | set | recipients:
+ stefan.richthofer, yan12125 |
2017-01-27 16:57:06 | stefan.richthofer | link | issue2527 messages |
2017-01-27 16:57:05 | stefan.richthofer | create | |
|