[PEAK] dispatch.generic broken in CVS?
Andy Gross
andy at andygross.org
Mon Dec 6 22:44:13 EST 2004
Thanks, that works. I'll have more questions on generic functions I'm
sure, I just don't know what they are yet :)
/arg
On Dec 6, 2004, at 10:37 PM, Phillip J. Eby wrote:
> At 09:11 PM 12/6/04 -0500, Andy Gross wrote:
>
>> [parseRule.when([str,unicode])]
>> AttributeError: 'function' object has no attribute 'when'
>>
>> Using python 2.4 and PEAK from CVS as of 5 minutes ago.
>
> It's an import order dependency; if you import 'dispatch.functions'
> beforehand (like the tests seem to do) it'll work normally. I've
> fixed it (I think) in CVS. At any rate, your sample script doesn't
> fail any more. Let me know if you have any more problems with it.
More information about the PEAK
mailing list