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:
>
> http://codespeak.net/py/current/doc/misc.html#the-py-std-hook
>
> (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.
--
http://mail.python.org/mailman/listinfo/python-list