Update locals() / resolved
holger krekel
pyth at devel.trillke.net
Tue Apr 30 16:06:02 EDT 2002
On Tue, Apr 30, 2002 at 12:40:15PM -0700, David Eppstein wrote:
> In article <mailman.1020193732.29753.python-list at python.org>,
> holger krekel <pyth at devel.trillke.net> wrote:
>
> > > Thes names aren't reserved in any way...
> >
> > right. i do it all the time for file,str,dict,string,list...
> > they are simply to short and descriptive to be left bound
> > to something i don't access directly. and using type('') or
> > friends is usually a very precise way of expressing that
> > you want the type object for that particular thing.
>
> So what do you do when you have overridden type?
I don't do it. Or i do it only in very limited
local scopes. type and the keywords are holy :-)
regards,
holger
More information about the Python-list
mailing list