Message284275
I still can reproduce this bug, is that intended behavior?
1 def func():
2 import pdb; pdb.set_trace()
3 x = 0
4 y = 0
5 z = 0
6
7 if __name__ == "__main__":
8 func()
> /test.py(3)func()
-> x = 0
(Pdb) n
> /test.py(4)func()
-> y = 0
(Pdb) x = 5
(Pdb) y = 3
(Pdb) j 5
> /test.py(5)func()
-> z = 0
(Pdb) x
0
(Pdb) y
*** NameError: name 'y' is not defined |
|
Date |
User |
Action |
Args |
2016-12-29 16:03:29 | Andrei Bodrov | set | recipients:
+ Andrei Bodrov, georg.brandl, amaury.forgeotdarc, benjamin.peterson, mproeller, maru, Markus.Pröller |
2016-12-29 16:03:29 | Andrei Bodrov | set | messageid: <1483027409.78.0.650617977055.issue5215@psf.upfronthosting.co.za> |
2016-12-29 16:03:29 | Andrei Bodrov | link | issue5215 messages |
2016-12-29 16:03:29 | Andrei Bodrov | create | |
|