[prev in list] [next in list] [prev in thread] [next in thread]
List: python-bugs-list
Subject: [Python-bugs-list] [ python-Bugs-523995 ] PDB single steps list comprehensions
From: noreply () sourceforge ! net (noreply () sourceforge ! net)
Date: 2002-02-28 18:59:20
Message-ID: E16gVlw-0005lV-00 () usw-sf-web1 ! sourceforge ! net
[Download RAW message or body]
Bugs item #523995, was opened at 2002-02-28 13:59
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=523995&group_id=5470
Category: Demos and Tools
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Emerson (tree)
Assigned to: Nobody/Anonymous (nobody)
Summary: PDB single steps list comprehensions
Initial Comment:
Within PDB you cannot 'n'ext over a list comprehension:
instead you step through each iteration. In some cases
this is quite painful, since the comprehension may have
several hundred elements.
For example,
def doit():
foo = [ 2 * x for x in range(100) ]
print foo
requires you to either step through all 100 iterations
of the comprehension, or set a temporary breakpoint on
the line after the comprehension.
My expectation would be that 'n'ext would execute the
comprehension and move on to the next line.
If this isn't a bug, and is working by design, then I'd
like to suggest a command that allows you to fully
execute comprehensions.
I've seen this with versions 2.0 -- 2.2 on several
platforms.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=523995&group_id=5470
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic