[issue21161] list comprehensions don't see local variables in pdb in python3

Xavier de Gaye report at bugs.python.org
Sat Apr 12 09:09:51 CEST 2014


Xavier de Gaye added the comment:

FWIW this generator expression can be evaluated with the 'interact' command:

--Return--
> /test/comprehension.py(5)foo()->None
-> pdb.set_trace()
(Pdb) interact
*interactive*
>>> all(x < limit for x in items)
True
>>> 
(Pdb)

----------
nosy: +xdegaye

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21161>
_______________________________________


More information about the Python-bugs-list mailing list