emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pdb and Python 2.5


From: Andrey Zhdanov
Subject: pdb and Python 2.5
Date: Mon, 26 Feb 2007 11:13:37 -0500

Hello all,
There are changes in pdb.py in Python 2.5.
On top level it prints "<module>" instead of "?" as in Python 2.4.
(Pdb) w
 c:\python25\lib\bdb.py(366)run()
-> exec cmd in globals, locals
 <string>(1)<module>()
d:\tmp\test.py(4)<module>()
This "<module>" have to be added to gud-pdb-marker-regexp, otherwise
it fails to work correctly.
Nick Roberts asking somebody from this list to confirm the change.
Something like this:
(defvar gud-pdb-marker-regexp
"^> \\([-a-zA-Z0-9_/.:\\]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|<module>\\)()\\(->[^\n]*\\)?\n")

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]