Message11413
If an exception's message contains linebreaks, they are output as "\n" instead of true linebreaks. This differs from how Python 2.7 behaves and breaks some of our error messages (i.e. makes them much less readable).
Example:
raise Exception("Hello\nWorld")
Expected Output:
Exception: Hello
World
Actual Output:
Exception: Hello\nWorld
I found the problem in Jython 2.7.1-rc2.
As far as I can tell, the cause for this behaviour is to be found in the method "asMessageString()" inside "Py.java" (line 1509). |
|
Date |
User |
Action |
Args |
2017-06-05 16:20:33 | tkohn | set | recipients:
+ tkohn |
2017-06-05 16:20:33 | tkohn | set | messageid: <1496679633.29.0.577634608946.issue2596@psf.upfronthosting.co.za> |
2017-06-05 16:20:33 | tkohn | link | issue2596 messages |
2017-06-05 16:20:32 | tkohn | create | |
|