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 xdegaye
Recipients Chun-Yu Tseng, Jesús Gómez, georg.brandl, xdegaye
Date 2016-11-16.20:37:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479328652.27.0.905848453309.issue26072@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-11-16 20:37:32xdegayesetrecipients: + xdegaye, georg.brandl, Jesús Gómez, Chun-Yu Tseng
2016-11-16 20:37:32xdegayesetmessageid: <1479328652.27.0.905848453309.issue26072@psf.upfronthosting.co.za>
2016-11-16 20:37:32xdegayelinkissue26072 messages
2016-11-16 20:37:32xdegayecreate