Serhiy Storchaka added the comment:

Well. In any case I have no ideas how fix it. Any behavior change will break 
existing code.

I requalify this issue as documentation enhancement. The documentation should 
specify that evens scheduled on same tame with same priority considered equal. 
That cancel() doesn't distinguish equal events and can cancel arbitrary of 
them. That cancel() doesn't preserve order of equal events.

----------
assignee:  -> docs@python
components: +Documentation -Library (Lib)
keywords: +easy
nosy: +docs@python
title: sched.cancel() breaks events order -> Document that sched.cancel() 
doesn't distinguish equal events and can break order
type: behavior -> enhancement
versions: +Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to