And again, you
can use predicate dispatch to regoster different error_handlers for
different kinds of errors.
I for one, as a committer on TurboGears, would absolutely love to see
a good, solid generic function capability integrated into the standard
library
ful. I personally found generic functions
to be quite easy to understand, but didn't truly begin to appreciate
them until I started to use them.
So, sure, it might have been a +1 vote, but it comes with the context
that I have actually *used* both generic functions and interfaces
functions (using RuleDispatch) in practice
and find them to not only be hugely powerful, but much more pragmatic.
Am I the only one out there who sees it this way?
--
Jonathan LaCour
http://cleverdevil.org
___
Python-3000 mailing list
Python-3000@pytho
__metaclass__ = metaclass
return MetaclassMixin
... and then I simply use this on my classes when I define them:
class MyClass(of_type(SomeMetaclass)):
...
I find this to be fairly useful, and simple.
--
Jonathan LaCour