[Python-Dev] Tricky way of of creating a generator via a comprehension expression (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 23 17:26:39 EST 2017
- Previous message (by thread): [Python-Dev] Tricky way of of creating a generator via a comprehension expression
- Next message (by thread): [Python-Dev] Tricky way of of creating a generator via a comprehension expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
The debugger does stop at each iteration. It does see a local named ".0" I suppose there currently is no way for the debugger to map the variable names to what they are named in the source, right?
If the hidden local were named "a.0" where "a" is the original name, mapping it back would be easy. It would also be easily understood even if it weren't mapped back.
-- Greg
- Previous message (by thread): [Python-Dev] Tricky way of of creating a generator via a comprehension expression
- Next message (by thread): [Python-Dev] Tricky way of of creating a generator via a comprehension expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]