class attrdict

Hallvard B Furuseth h.b.furuseth at usit.uio.no
Fri Mar 9 04:32:00 EST 2007


Alex Martelli writes:
> (...)
>> class Namespace(object):
> (...)
> I might, if it weren't for the redundant "if" and the horribly buggy
> interference between separate instances -- which is why I wrote it,
> almost six years ago and without the bugs, as
> <http://aspn.activestate.com/ASPN/Python/Cookbook/Recipe/52308> .

Nice one.  I gotta dig up the Cookbook again.

-- 
Hallvard



More information about the Python-list mailing list