Hamish Downer added the comment:
The bug affects me on python 2.7, as described by the original reporter.
I am using Ubuntu 12.04 which comes with python 2.7.3 - was this fixed for 2.7
quite recently?
However the python 3.2 that is packaged for Ubuntu 12.04 does not suffer from
this bug.
---
R. David Murray added the comment:
As far as I can see it has been. In both 2.7 and 3.3 I get:
rdmurray@hey:~/python/p33>./python somecode.py
> /home/rdmurray/python/p33/somecode.py(3)()
-> raise Exception('This is a message that contains a lot of characters and is
very long indeed.')
(Pdb) n
New submission from Paul:
In Python 2.6, pdb doesn't show exception strings properly:
#somecode.py
import pdb
pdb.set_trace()
raise Exception('This is a message that contains a lot of characters and is
very long indeed.')
#terminal
> somecode.py
-> raise Exception('This is a message that conta