[Python-Dev] pdb mini-sprint report and questions

Guido van Rossum guido at python.org
Sat Jul 31 01:14:47 CEST 2010


On Fri, Jul 30, 2010 at 4:07 PM, Georg Brandl <g.brandl at gmx.net> wrote:
> Am 31.07.2010 01:01, schrieb Guido van Rossum:
>> Warning: 'p' is *not* the same as 'print'. 'p' is a built-in command
>> that prints the expression's repr(). 'print' OTOH falls back through
>> the interpreter and executes a print statement or function, which
>> prints the str().
>
> Not in py3k -- 'print' is an alias for 'p' there, otherwise 'print x'
> would be a syntax error.

Ah, ok, even better.

>> For me personally, the problem this feature tries to address is never
>> a problem (of course I am probably unique as far as pdb users go :-)
>> so I'd like a way to turn it off.
>>
>>> Also, are there any other features you would like to see?  One feature
>>> of pdb++ that is general enough and has no dependencies would be watch
>>> expressions...
>>
>> Cool.
>
> I take it you'd like to see them? ;)

Sorry, yes, I meant that as a "kewl" cool, not "lukewarm" cool. IOW
+1, not +0. :)

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list