any plans to make pprint() a builtin?

Duncan Booth duncan.booth at invalid.invalid
Sun May 14 16:39:14 CEST 2006

Tim Golden wrote:
> Duncan Booth wrote:
>> Personally I'd just like to see 'python' a builtin shorthand for
>> importing a name you aren't going to use much
>>  e.g.
>>     python.pprint.pprint(x)
> I think that's what the py.lib people have done with
> their py.std module:
> (At least, it looks like it; I've never used it myself).
Yes, I know it is easy enough to implement. I'm just suggesting that it 
might be useful as a builtin. After all, if I have to import something to 
use it I'd mostly just do the imports I needed instead.

More information about the Python-list mailing list