Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 1 | -5/+2 |
| | |||||
* | Make the classes exposed by threading.py new-style classes. This is | Tim Peters | 2003-07-01 | 1 | -3/+7 |
| | | | | mostly for convenience and to aid debugging. | ||||
* | Resolved minor XXX question in the obvious way. | Tim Peters | 2003-07-01 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-06-29 | 1 | -2/+2 |
| | |||||
* | Remove stub settrace() and setprofile() calls. | Jeremy Hylton | 2003-06-29 | 1 | -8/+0 |
| | |||||
* | Add settrace() and setprofile() functions to the threading library. | Jeremy Hylton | 2003-06-29 | 1 | -0/+20 |
| | |||||
* | Provide dummy (do-nothing) settrace() and setprofile() functions until | Tim Peters | 2003-06-29 | 1 | -1/+9 |
| | | | | Jeremy can check in the real things. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -6/+6 |
| | |||||
* | - prefer "import ... as" to "import / (assignments) / del" for most things | Fred Drake | 2002-12-30 | 1 | -18/+11 |
| | | | | | - when the thread module isn't available, subsequent attempts to import threading should not suceed | ||||
* | Add __all__. (Brett Cannon.) | Guido van Rossum | 2002-12-30 | 1 | -0/+2 |
| | |||||
* | The _Event class should be more careful with releasing its lock when | Guido van Rossum | 2002-11-21 | 1 | -8/+14 |
| | | | | | | | | interrupted. A try/finally will do nicely. Maybe other classes need this too, but since they manipulate more state it's less clear that that is always the right thing, and I'm in a hurry. Backport candidate. | ||||
* | Docstring nits: The module is neither proposed nor new. | Jeremy Hylton | 2002-08-14 | 1 | -1/+1 |
| | |||||
* | Explain use of currentThread() in _Condition methods. | Jeremy Hylton | 2002-08-14 | 1 | -2/+2 |
| | |||||
* | Explain a little more. | Jeremy Hylton | 2002-08-14 | 1 | -0/+1 |
| | |||||
* | Explain a minor mystery. | Jeremy Hylton | 2002-08-14 | 1 | -0/+1 |
| | |||||
* | Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i) | Raymond Hettinger | 2002-06-30 | 1 | -2/+1 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -19/+19 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -2/+2 |
| | |||||
* | SF #515023. Make _DummyThread.join() signature match base class (Thread) | Neal Norwitz | 2002-02-19 | 1 | -1/+1 |
| | |||||
* | Thread.__bootstrap(): ignore exceptions in the self.__delete() call in | Guido van Rossum | 2001-12-28 | 1 | -1/+4 |
| | | | | | | | | | | | | the finally clause. An exception here could happen when a daemon thread exits after the threading module has already been trashed by the import finalization, and there's not much of a point in trying to insist doing the cleanup in that stage. This should fix SF bug ##497111: active_limbo_lock error at program exit. 2.1.2 and 2.2.1 Bugfix candidate! | ||||
* | Whitespace normalization. | Tim Peters | 2001-09-18 | 1 | -4/+4 |
| | |||||
* | Patch #428326: New class threading.Timer. | Martin v. Löwis | 2001-09-05 | 1 | -1/+30 |
| | |||||
* | Added new BoundedSemaphore class. Closes bug 452836. | Skip Montanaro | 2001-08-20 | 1 | -0/+15 |
| | |||||
* | of course I muffed it separating the notes code from the initial_value | Skip Montanaro | 2001-08-19 | 1 | -4/+4 |
| | | | | code. grrr... | ||||
* | add debug calls to self._note for the Semaphore class. This closes bug | Skip Montanaro | 2001-08-19 | 1 | -0/+9 |
| | | | | | 443614. I will submit a new feature request and patch to threading.py and libthreading.tex to address the bounded semaphore issue. | ||||
* | Remove unused imports (PyChecker) | Andrew M. Kuchling | 2001-08-13 | 1 | -4/+0 |
| | |||||
* | _Condition.wait(): never sleep longer than the timeout time remaining, | Tim Peters | 2001-08-12 | 1 | -4/+11 |
| | | | | | and even if we have a long time left to wait, try the lock at least 20 times/second. | ||||
* | SF bug [#410708] Condition.wait() and KeyboardInterrupt. | Tim Peters | 2001-04-02 | 1 | -23/+25 |
| | | | | | | http://sourceforge.net/tracker/?func=detail&aid=410708&group_id=5470&atid=105470 Added try/finally around Condition.wait() guts, so that the lock state gets restored at the end no matter what happens. | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -3/+3 |
| | |||||
* | Comment out a debugging print statement that triggered a complaint in | Guido van Rossum | 2000-12-15 | 1 | -1/+1 |
| | | | | c.l.py. | ||||
* | Revise to use atexit instead of monkeying with sys.exitfunc directly. | Fred Drake | 2000-08-18 | 1 | -9/+2 |
| | |||||
* | patch from Charles Waldman-- | Jeremy Hylton | 2000-06-01 | 1 | -0/+1 |
| | | | | define ThreadError (== thread.error); docs should be updated, too | ||||
* | Fix a typo in a comment | Andrew M. Kuchling | 2000-02-29 | 1 | -1/+1 |
| | |||||
* | The third and final doc-string sweep by Ka-Ping Yee. | Guido van Rossum | 2000-02-04 | 1 | -2/+1 |
| | | | | | | | | 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. | ||||
* | Duncan Grisby noted a typo in _DummyThread. | Guido van Rossum | 1999-09-29 | 1 | -1/+1 |
| | |||||
* | Get rid of tabnanny's last complaints. | Guido van Rossum | 1998-06-09 | 1 | -3/+3 |
| | |||||
* | Two places where _time() should be used said time.time(), which | Guido van Rossum | 1998-05-29 | 1 | -2/+2 |
| | | | | doesn't work of course. | ||||
* | Use random instead of whrandom. | Guido van Rossum | 1998-05-20 | 1 | -2/+2 |
| | |||||
* | New Java-style threading module. The doc strings are in a separate module. | Guido van Rossum | 1998-04-09 | 1 | -0/+638 |