[EMAIL PROTECTED] wrote:
> hi
> i have
> 
> class X(object):
>  ....
> 
> X.__init__ = setattr_kargs
> where
> def setattr_kargs( *args, **kargs):
>     assert len(args)==1
>     x = args[0]
>     for k,v in kargs.iteritems(): setattr( x, k, v)
> 
> 
> when SA comes to play, it fails to find a 'self' in "__init__" 
> arguments.

r4880 now considers args[0] as 'self' when introspecting def(*args): ...


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

Reply via email to