[Python-Dev] an alternative suggestion, Re: pdb: should next command be extended?

"Martin v. Löwis" martin at v.loewis.de
Tue Aug 9 08:52:01 CEST 2005


Ilya Sandler wrote:
> So, would implementing gdb's "until" command instead of "next N" be a
> better idea? In its simplest form (without arguments) "until" advances to
> the next (textually) source line... This would solve the original problem of
>  getting over list comprehensions...

I like that idea.

> There is a bit of a problem with abbreviation of "until": gdb abbreviates
> it as "u", while in pdb "u" means "up"...It might be a good idea to have the
> same abbreviations

Indeed. I don't know much about pdb internals, but I think "u" should
become unbound, and "up" and "unt" should become the shortest
abbreviations.

Regards,
Martin


More information about the Python-Dev mailing list