Not Really SOLVED! Re: [Zope3-Users] Re: zope.schema Question
Fred Drake
fdrake at gmail.com
Mon Jul 7 14:35:15 EDT 2008
On Mon, Jul 7, 2008 at 2:25 PM, Tim Cook <timothywayne.cook at gmail.com> wrote:
> Okay. But before I do that. Is my approach to initializing an instance
> correct or is the problem the way I handled the keywords?
...
> for n,v in kw.items():
> setattr(self,n,v)
There are people who like this style and people who don't (and
consider it ridiculously fragile), but zope.schema couldn't care less
about this.
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
More information about the Zope3-users
mailing list