[Chicago] Any topics?

Brian Ray bray at sent.com
Tue Nov 1 21:42:58 CET 2005


On Nov 1, 2005, at 12:25 PM, Ian Bicking wrote:

> I could do a little thing on generic functions (aka RuleDispatch)


BTW, I had to go here <http://peak.telecommunity.com/> to figure out  
what RuleDispatch was.

$ python -c "import dispatch; print dispatch.__doc__"

Multiple/Predicate Dispatch Framework

This framework refines the algorithms of Chambers and Chen in their 1999
paper, "Efficient Multiple and Predicate Dispatching", to make them  
suitable
for Python, while adding a few other enhancements like incremental index
building and lazy expansion of the dispatch DAG.   Also, their algorithm
was designed only for class selection and true/false tests, while this
framework can be used with any kind of test, such as numeric ranges,  
or custom
tests such as categorization/hierarchy membership.

NOTE: this package is not yet ready for prime-time.  APIs are subject to
change randomly without notice.  You have been warned!

TODO

     * Support DAG-walking for visualization, debugging, and  
ambiguity detection


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/chicago/attachments/20051101/a3107cfd/attachment.htm


More information about the Chicago mailing list