27.03.14 00:16, Guido van Rossum написав(ла): > Yeah, so the pyftp fix is to keep track of how many timers were > cancelled, and if the number exceeds a threshold it just recreates the > heap, something like > > heap = [x for x in heap if not x.cancelled] > heapify(heap) See also http://bugs.python.org/issue13451 which proposes such approach for the sched module.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4