GH-83151: Add closure support to pdb (GH-111094)

This commit is contained in:
Tian Gao 2024-05-06 11:34:13 -07:00 • committed by GitHub
parent 5a1618a2c8
commit e5353d49dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 156 additions and 2 deletions

View file

@ -0,0 +1,3 @@
Enabled arbitrary statements and evaluations in :mod:`pdb` shell to access the
local variables of the current frame, which made it possible for multi-scope
code like generators or nested function to work.