This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wosc
Recipients wosc
Date 2009-04-09.11:25:01
SpamBayes Score 6.03955e-08
Marked as misclassified No
Message-id <>
When pdb is called from inside a doctest under python2.5, the readline
keys do not work anymore -- like they did just fine in 2.4.

Steps to reproduce: 
1. Create two files, foo.txt and, like so:
$ cat > foo.txt
>>> import pdb; pdb.set_trace()
$ cat >
import doctest; doctest.testfile('foo.txt')
2. run it
$ python2.5
3. If I now press Ctrl-P, I get "^P" printed on the prompt, instead of
going back in the readline history. Likewise, the arrow keys print
escape sequences instead of moving the cursor.
Date User Action Args
2009-04-09 11:25:06woscsetrecipients: + wosc
2009-04-09 11:25:05woscsetmessageid: <>
2009-04-09 11:25:03wosclinkissue5727 messages
2009-04-09 11:25:01wosccreate