On Mar 02, 2011, at 08:23 PM, R. David Murray wrote: >Pretty much. I think they will also contain some callable methods, >to provide hooks where a policy subclass can implement a custom policy. >My current implementation has such a hook for registering defects, which >would allow a custom policy to, for example, log the defects in addition >to or instead of putting them into the defects list.
Makes sense. >I'm not sure what we you mean by multiple registrations. Can you give >an example? I really meant multiple registries, mostly thinking about how to avoid some global state. But Python already has some global registries, so maybe that's not too bad in this case. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Email-SIG mailing list Email-SIG@python.org Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com