--
You received this message because you are subscribed to the Google Groups "rum-discuss" group.
To post to this group, send email to rum-d...@googlegroups.com.
To unsubscribe from this group, send email to rum-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rum-discuss?hl=en.
Thanks for the feedback.
Am 11.01.2011 um 04:57 schrieb Robert Ramsay:
> I think Peak-rules may have been the issue. I think pylons or I installed peak-rules-0.5a1.dev_r2600. I tested it with PEAK_Rules-0.5a1.dev_r3686-py2.6.egg (latest as of 10-Jan-2011), which also does not work. So I guess we must use r2659.
You can use the latest version of peak.rules, I fixed the problem and made the code clearer.
One might guess (although I don't claim it, that peak.rules recognized my tautology with constant functions).
The controller API is decomposed in single steps.
Since it is completely unclear which extension points we should provide here,
Alberto constructed it in some way, that each step has assigned a number (the priority).
While it might remember on ugly old fashioned line numbers,
I do not now any better way to make the controller API
customizable. In fact the factory-APIs look more inspired.
If you look at the priorities single steps, then it is sure, that he meant the priority
to be the argument which orders the call_action.around steps.
peak rules around functions are always ordered by implication/precedence.
So, when there are no different predicates than priority everything works fine.
However any additional predicates to be checked can disturb the order
as the priority of prioritized_methods only applies on ambiguity of the main predicates.
I refactored the code and pulled out all predicates to if-conditions in the call_action.around
functions.
So we can avoid such trouble in future.
http://hg.python-rum.org/rum/rev/22a78dd38e02
> I've attached the stack trace for when I try to delete.
I fixed the delete bug some days ago.
I am not sure, which version was on PYPI, so I just pushed a new release of tw.rum.
So,
easy_install -U tw.rum rum
should give you the necessary upgrades.
Many thanks for your feedback!
Cheers,
Michael
> <delete_trace.txt>
-------------------------------------------
Dr. rer. nat. Michael Brickenstein
Mathematisches Forschungsinstitut Oberwolfach gGmbH
Schwarzwaldstr. 9 - 11
77709 Oberwolfach
Tel.: 07834/979-31
Fax: 07834/979-38