On Fri, Sep 26, 2008 at 09:39:59AM -0700, Christopher Lee wrote:
-> Oops.  Looks like I forgot the @classmethod decorator in this case,  
-> whereas I did it right on FileDBSequence and XMLRPCSequence.  Titus,  
-> do you see a particular benefit to moving the _init_subclass out of  
-> the class definition as you did, over just using the @classmethod  
-> decorator?  I only used the former pattern for SQLRow because there  
-> were multiple classes that could use the same _init_subclass function...

Ahh, good!  No, I don't see a benefit; I wasn't confident enough of the
code to be sure of what I was doing, so I settled for getting it to
work.

Rob and I will try to put a test in place for this.

cheers,
--titus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pygr-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to