On Sat, Jan 19, 2002 at 06:38:14PM -0600, Ian Bicking wrote:
> On Sat, 2002-01-19 at 16:42, Mike Orr wrote:
> > It seems like we can adopt properties and __slots__ piecemeal.
> > 
> > 1) Add a foo = property(foo, setFoo, None, None) call for each property.
> > Monitor performance to verify it doesn't go down.  If it doesn't, we're
> > no worse off than we were.
> 
> If we change all the classes to use getFoo/setFoo instead of
> foo/setFoo.  Then it would be fairly easy to create a function that
> created the properties automatically (based on these naming
> conventions), and we wouldn't have to add 
> foo = property(foo, setFoo) lines all over the place.

That was another thing I was going to say.  The big hurdle is switching
the clint code and servlets to .transaction instead of .transaction(),
and .field[] instead of .field()[].  After that, we can improve the
implementation however we want and it will work transparently.

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to