Roundup Tracker - Issues

Issue 1585378

classification
detector list ordering not stable
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : richard, stefan
Priority: normal :

Created on 2006-10-26 21:37 by stefan, last changed 2006-11-09 03:08 by richard.

Messages
msg2319 Author: [hidden] (stefan) Date: 2006-10-26 21:37
It appears the ordering of detectors isn't stable:
The sorting is applied to (priority,function) tuples,
and so for detectors with the same priority the object id
will decide the order of execution -- which may vary
between invokations.
It may be better to provide a custom comparison function
that only compares priorities.
msg2320 Author: [hidden] (richard) Date: 2006-11-09 03:08
Logged In: YES 
user_id=6405

Have changed ordering to use (priority, function.__name__, function)
History
Date User Action Args
2006-10-26 21:37:14stefancreate