[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pdb and Python 2.5
From: |
Nick Roberts |
Subject: |
Re: pdb and Python 2.5 |
Date: |
Tue, 27 Feb 2007 09:53:13 +1300 |
> 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")
Andrey,
I actually CC'ed my last message to emacs-devel but there has been no response.
As it maintains compatibility with Python pre-2.5 I checked this in.
Thanks.
--
Nick http://www.inet.net.nz/~nickrob