On Jan 22, 11:38 am, Jeremy Dunck <[email protected]> wrote:
> I think it'd be possible to fix this issue by adding a metaclass to
> ServerConn which would wire up the attributes as needed. Basically,
> instead of using __getattr__, the metaclass would annotate ServerConn
> with functions like .put which do the right thing for process_put.
>
> Does that sound reasonable to you? I can work up a patch if so?
If I'm following correctly, this metaclass will base its wiring on
something like dir(protohandler), so that modifications to the
protocol could be done without having to deal with meta magic on the
conn side. Is this the case? If so I would gladly accept such a patch.
Regards,
Erich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" 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/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---