On Thu, Apr 11, 2013 at 12:42 PM, Robert Kern <robert.k...@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 -- http://mail.python.org/mailman/listinfo/python-list