At 10:29 AM 10/10/2006 -0400, Pierre Imbaud wrote:
Anthony Tarlano wrote:
Firstly, I would like to say thanks for the setuptools package, which I was introduced to after reading about the RuleDispatch package on the IBM developerworks charming python series. Oh btw. RuleDispatch is the most useful python package that I have seen in the last year in the python world, so thanks for that also ;)
I read this posting, made me curious about RuleDispatch, but I cant find a hint about this package! Is it dead, or just in artificial sleep?
See http://www.eby-sarna.com/pipermail/peak/2006-May/002534.html for the details. RuleDispatch is on life support: it is available only via SVN and I'm doing only bug fixes. Python 2.5 is not currently supported, in part due to grammar changes that affect RuleDispatch's parser and in part due to the fact that Pyrex does not support Python 2.5's new-style exceptions yet.
I've also just released 'simplegeneric', a super-simple single-dispatch generic function implementation in 100 lines of Python, with no dependencies (except that it uses setuptools for installation). An in-development version of PEAK-Rules is also available via SVN; it does not support predicate dispatch yet, but so far does support multiple dispatch and method combining. PEAK-Rules has a much better test suite than RuleDispatch, as it has been test-first developed from the ground up. (As was 'simplegeneric'.) RuleDispatch was first written before I was truly "test infected".
Anyway, this subject is off-topic for distutils-sig, though, so please send any reply via the PEAK mailing list.