This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mproeller
Recipients benjamin.peterson, mproeller
Date 2009-02-12.08:33:28
SpamBayes Score 9.585686e-06
Marked as misclassified No
Message-id <1234427610.43.0.119243560215.issue5215@psf.upfronthosting.co.za>
In-reply-to
Content
This is the pdb session at the tracepoint in line 4 in the function func
()
So I did the following first:

> c:\test.py(5)func()
-> a = b + 2
(Pdb) p b
13
(Pdb) !b=5
(Pdb) p b
13
(Pdb) n
> c:\test.py(6)func()
-> print a
(Pdb) n
15

I tried to change the value of b but it didn't work, as the
print a statement printed 15, but it should have printed 7
because I set b to 5!!
Then I did the same again:

> c:\test.py(5)func()
-> a = b + 2
(Pdb) p b
13
(Pdb) !b = 5
(Pdb) n
> c:\test.py(6)func()
-> print a
(Pdb) n
7

Note that I changed the value of b to 5 and than didn't print the value
of b and it seems to work as the print statement printed 7.
History
Date User Action Args
2009-02-12 08:33:30mproellersetrecipients: + mproeller, benjamin.peterson
2009-02-12 08:33:30mproellersetmessageid: <1234427610.43.0.119243560215.issue5215@psf.upfronthosting.co.za>
2009-02-12 08:33:29mproellerlinkissue5215 messages
2009-02-12 08:33:28mproellercreate