Python pdb bug, followed by bug in bugs.python.org

Ian Kelly ian.g.kelly at gmail.com
Thu Apr 11 14:55:56 EDT 2013


On Thu, Apr 11, 2013 at 12:42 PM, Robert Kern <robert.kern at gmail.com> wrote:
> Use `where` to see the problem:

Ah.  Then I can verify that the problem occurs in Windows as well:

C:\Users\ikelly\Desktop>c:\python33\python python_bug.py
first call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) w
  c:\users\ikelly\desktop\python_bug.py(9)<module>()
-> foo('first call')
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c
second call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) w
  c:\users\ikelly\desktop\python_bug.py(9)<module>()
-> foo('first call')
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c



More information about the Python-list mailing list