[PEAK] Major update to generic functions in CVS
Jay Parlar
parlar at gmail.com
Mon Apr 25 09:57:31 EDT 2005
I'm getting this after the update.
File "outputlogic.py", line 24, in Logic
[ifdef.when("ILeaf(item).ifdef")]
File "c:\Python24\Lib\site-packages\dispatch\functions.py", line 690, in when
return self._decorate(cond)
File "c:\Python24\Lib\site-packages\dispatch\functions.py", line
577, in _decorate
cond = self.parseRule(cond,frame=frame) or cond
File "<string>", line 10, in parseRule
File "c:\Python24\Lib\site-packages\dispatch\functions.py", line
440, in parseRule
return self.parse(rule, frame.f_locals, frame.f_globals)
File "c:\Python24\Lib\site-packages\dispatch\functions.py", line 326, in parse
return parse_expr(expr_string,builder)
File "c:\Python24\Lib\site-packages\dispatch\ast_builder.py", line
383, in parse_expr
return build(builder, parser.expr(expr).totuple(1)[1])
File "c:\Python24\Lib\site-packages\dispatch\ast_builder.py", line
378, in build
return production[nodelist[0]](builder,nodelist)
File "c:\Python24\Lib\site-packages\dispatch\ast_builder.py", line
181, in power
return builder.Getattr(nodelist, node[2][1])
File "c:\Python24\Lib\site-packages\dispatch\predicates.py", line
545, in method
return expressionSignature(op(self.expr_builder,*args), self.mode)
File "<string>", line 5, in expressionSignature
File "_speedups.pyx", line 291, in _speedups.BaseDispatcher.__getitem__
File "_speedups.pyx", line 228, in _speedups.ExprCache.__getitem__
File "_speedups.pyx", line 228, in _speedups.ExprCache.__getitem__
File "<string>", line 1, in <lambda>
AttributeError: 'Getattr' object has no attribute 'argexprs'
make: *** [test] Error 1
I've attached some trivial code that duplicates this error.
I get the same error using both the magic decorators and 2.4
decorators. I did a fresh build for this code, completely removing the
'dispatch' and 'protocols' packages from my site-packages directory
before doing the install.
I think that I was seeing this error before the fixes you put in over
the weekend.
If you need me to try anything else, let me know.
Jay P.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broken.py
Type: text/x-python
Size: 495 bytes
Desc: not available
Url : http://www.eby-sarna.com/pipermail/peak/attachments/20050425/504a1662/broken.py
More information about the PEAK
mailing list