[issue19270] Document that sched.cancel() doesn't distinguish equal events and can break order

Jonas Norling report at bugs.python.org
Wed Sep 16 06:40:21 EDT 2020


Jonas Norling <jonas.norling at greeneggs.se> added the comment:

@bar.harel: I didn't find a PR, so I'd like to encourage you to submit one :-)

I stumbled onto this bug when the scheduler would cancel the wrong event for me (Python 3.7, 3.8). Raymond's suggestion 1 sounds reasonable; it would be very unlikely to break code that doesn't depend on internals in sched, and it simplifies the implementation a bit.

----------
nosy: +wocket

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19270>
_______________________________________


More information about the Python-bugs-list mailing list