[issue5830] heapq item comparison problematic with sched's events

2016-11-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue5830] heapq item comparison problematic with sched's events

2016-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Agreed, "seq" is better name. Thanks Raymond. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue5830] heapq item comparison problematic with sched's events

2016-11-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Serhiy. FWIW, I changed the variable name from "l" to "seq" for readability. -- status: open -> closed ___ Python tracker ___

[issue5830] heapq item comparison problematic with sched's events

2016-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ecc6f7940e02 by Raymond Hettinger in branch '3.6': Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.) https://hg.python.org/cpython/rev/ecc6f7940e02 -- ___ Python tracker

[issue5830] heapq item comparison problematic with sched's events

2016-11-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue5830] heapq item comparison problematic with sched's events

2016-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file45213/test_sched_noncomparable_args.patch ___ Python tracker ___ ___ Py

[issue5830] heapq item comparison problematic with sched's events

2016-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file45214/test_sched_noncomparable_args.patch ___ Python tracker ___ ___ Pytho

[issue5830] heapq item comparison problematic with sched's events

2016-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a test. -- keywords: +patch versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.0, Python 3.1 Added file: http://bugs.python.org/file45213/test_sched_noncomparable_args.patch ___ Python tracker

[issue5830] heapq item comparison problematic with sched's events

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee476248a74a by Raymond Hettinger in branch '3.6': Issue #5830: Remove old comment. Add empty slots. https://hg.python.org/cpython/rev/ee476248a74a -- nosy: +python-dev ___ Python tracker

[issue5830] heapq item comparison problematic with sched's events

2016-10-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue5830] heapq item comparison problematic with sched's events

2016-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Needed tests for this feature. Otherwise sched.Event can be "enhanced" by removing ordering methods (issue28330). -- nosy: +serhiy.storchaka ___ Python tracker __

[issue5830] heapq item comparison problematic with sched's events

2009-04-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed r71844 and 71845. -- assignee: -> rhettinger nosy: +rhettinger resolution: -> fixed status: open -> closed versions: +Python 3.1 ___ Python tracker _

[issue5830] heapq item comparison problematic with sched's events

2009-04-24 Thread Kay F. Jahnke
New submission from Kay F. Jahnke : scheduler uses heapq to schedule it's events. Heapq uses plain >/< comparisons on the events. Now that comparisons of incomparable data are no longer valid, the comparison fails if two events are scheduled for the same time with the same priority, since the