On 12/11/2009 12:37 AM, Jean-Michel Pichavant wrote:
Diez B. Roggisch wrote:
By just inserting the print foo statement right after changing foo's
value, I've rolled back the value to 'foo' ??? A hell of a wtf pdb
feature !

Apparently it's fixed in 2.7 and 3.1

D:\Lie Ryan\Desktop>python27 d.py
> d:\lie ryan\desktop\d.py(6)test()
-> print(foo)
(Pdb) foo = "bar"
(Pdb) pp foo
'bar'
(Pdb) c
bar

D:\Lie Ryan\Desktop>python27 d.py
> d:\lie ryan\desktop\d.py(6)test()
-> print(foo)
(Pdb) foo = "bar"
(Pdb) c
bar

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to