summaryrefslogtreecommitdiffstats
path: root/Lib/sched.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor:Raymond Hettinger2004-12-171-10/+21
| | | | | | | | * Improve algorithm -- no more O(n) steps except sched.cancel(). * Improve thread safety of sched.run() and sched.empty() (other threads could alter the queue between the time the queue was first checked and when the lead event was deleted). * Localize variable access in sched.run() to minimize overhead.
* Get rid of many apply() calls.Guido van Rossum2003-02-271-1/+1
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+2
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* Whitespace normalization.Tim Peters2001-01-151-27/+27
|
* Actually, the previous batch's comment should have been different;Guido van Rossum2000-02-041-1/+1
| | | | | | | | | | *this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* While we're at it, convert to docstrings and set the indentation levelFred Drake1999-06-251-91/+96
| | | | to 4.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-6/+5
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-2/+1
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* * Got entirely rid of path.py.Guido van Rossum1992-12-141-4/+5
| | | | | | | | * Many modules: fixes for new, stricter, argument passing rules (most changes were automatic ones -- not all of this is tested!). * gwin.py: now uses mainloop.py for its main loop and window admin. * mainloop.py: always call dispatch() with event as a tuple! * Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
* Added a _v21 def to FL.py and added two new input field typesGuido van Rossum1992-09-021-10/+3
| | | | | | Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py Added new module bisect.py and used it in sched.py. Mostly cosmetic changes to profile.py (changed output format).
* New == syntaxGuido van Rossum1992-01-011-2/+2
|
* New class syntax.Guido van Rossum1991-12-261-1/+1
|
* Added a comment about a possible interface change.Guido van Rossum1991-11-121-0/+5
|
* Delay zero after successful action.Guido van Rossum1991-04-211-2/+8
|
* Initial revisionGuido van Rossum1991-04-071-0/+96