Update locals() / resolved

Steve Holden sholden at holdenweb.com
Mon Apr 29 08:45:59 EDT 2002


"holger krekel" <pyth at devel.trillke.net> wrote in message
news:mailman.1020029269.29740.python-list at python.org...
> On Sun, Apr 28, 2002 at 09:06:05PM +0000, Magnus Lie Hetland wrote:
> > In article <PNFy8.28407$8D3.758650 at news1.tin.it>, Alex Martelli wrote:
> > >holger krekel wrote:
> > >        ...
> > >> ok. i found a nice workaround (if one dare call it that:-)
> > >>
> > >> class dictlookup(type({})):
> >
> > Why use type({}) when you can use dict?
>
[ ... good reasons ...]
>
> 3. And 'dict' is something i often use in local definitions
>    when working with dictionaries.
>
Yeah, well we all have to cut that out and start using "adict" or "thisdict"
pretty sharpish. This one bites now.

regards
 Steve
--

Steve Holden: http://www.holdenweb.com/ ; Python Web Programming:
http://pydish.holdenweb.com/pwp/








More information about the Python-list mailing list