Message280988
This patch fixes the problems raised in this issue and allows accessing the globals at the Pdb prompt with the globals() dictionary:
(Pdb) list
1 y = 2
2
3 def f():
4 y = 9
5 z = 10
6 -> import pdb; pdb.set_trace();
7 f()
[EOF]
(Pdb) globals()['y']
2 |
|
Date |
User |
Action |
Args |
2016-11-16 20:37:32 | xdegaye | set | recipients:
+ xdegaye, georg.brandl, Jesús Gómez, Chun-Yu Tseng |
2016-11-16 20:37:32 | xdegaye | set | messageid: <1479328652.27.0.905848453309.issue26072@psf.upfronthosting.co.za> |
2016-11-16 20:37:32 | xdegaye | link | issue26072 messages |
2016-11-16 20:37:32 | xdegaye | create | |
|