- 04 Ock, 2007 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
to avoid relying on atexit. Will backport to 2.5.
-
- 13 Haz, 2006 1 kayıt (commit)
-
-
Andrew MacIntyre yazdı
Heavily revised, comprising revisions: 46640 - original trunk revision (backed out in r46655) 46647 - markup fix (backed out in r46655) 46692:46918 merged from branch aimacintyre-sf1454481 branch tested on buildbots (Windows buildbots had problems not related to these changes).
-
- 04 Haz, 2006 2 kayıt (commit)
-
-
Tim Peters yazdı
46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch.
-
Andrew MacIntyre yazdı
-
- 02 May, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
discussion. There are two places of documentation that still mention __context__: Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without spending a whole lot of time thinking about it; and whatsnew, which Andrew usually likes to change himself.
-
- 25 Nis, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
this can just call __context__ on the underlying lock. (The same change for Semaphore does *not* work!)
-
- 10 Mar, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Anyway, this is the changes to the with-statement so that __exit__ must return a true value in order for a pending exception to be ignored. The PEP (343) is already updated.
-
- 28 Şub, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- New semantics for __exit__() -- it must re-raise the exception if type is not None; the with-statement itself doesn't do this. (See the updated PEP for motivation.) - Added context managers to: - file - thread.LockType - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore} - decimal.Context - Added contextlib.py, which defines @contextmanager, nested(), closing(). - Unit tests all around; bot no docs yet.
-
- 23 Kas, 2005 1 kayıt (commit)
-
-
Brett Cannon yazdı
exception (e.g., passing in an illegal argument). Applies patch #1314396. Thanks Eric Blossom.
-
- 15 Tem, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 27 Ock, 2005 1 kayıt (commit)
-
-
Brett Cannon yazdı
Closes bug #1110998. Thanks Matthew Bogosian.
-
- 08 Ock, 2005 2 kayıt (commit)
-
-
Tim Peters yazdı
test_threading.test_foreign_thread(): new test does a basic check that "foreign" threads can using the threading module, and that they create a _DummyThread instance in at least one use case. This isn't a very good test, since a thread created by thread.start_new_thread() isn't particularly "foreign".
-
Brett Cannon yazdı
_Thread.__init__) was never used. This is a waste since locks use OS primitives that are in limited supply. So the lock is deleted in _DummyThread.__init__ . Closes bug #1089632.
-
- 21 Tem, 2004 2 kayıt (commit)
-
-
Tim Peters yazdı
rather than in docstrings. Rewrote so that _active_limbo_lock is released no matter what happens (it could have been left locked if _sys got None'd out). Use "in" in preference to has_key() for dict lookup. Don't bother looking for 'dummy_threading' in sys.modules unless KeyError is raised. Since the heart of the method is the del, do that in only one place.
-
Brett Cannon yazdı
and Thread.__delete() was called after a Thread instance was created. Problem resulted from a currentThread() call in an 'assert' statement being optimized out and dummy_thread.get_ident() always returning -1 and thus overwriting the entry for the _MainThread() instance created in 'threading' at import time. Closes bug #993394.
-
- 14 Tem, 2004 1 kayıt (commit)
-
- 03 Tem, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
during interpreter shutdown instead of masking it with another traceback about accessing a NoneType when trying to print the exception out in the first place. Closes bug #754449 (using patch #954922).
-
- 08 Mar, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
Side-effects were deemed unnecessary and were causing problems at shutdown time when threads were catching exceptions at start time and then triggering exceptions trying to call currentThread() after gc'ed. Masked the initial exception which was deemed bad. Fixes bug #754449 .
-
- 29 Ock, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
-
- 05 Kas, 2003 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 01 Tem, 2003 2 kayıt (commit)
-
-
Tim Peters yazdı
mostly for convenience and to aid debugging.
-
Tim Peters yazdı
-
- 29 Haz, 2003 4 kayıt (commit)
-
-
Tim Peters yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Tim Peters yazdı
Jeremy can check in the real things.
-
- 27 Şub, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 30 Ara, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
- when the thread module isn't available, subsequent attempts to import threading should not suceed
-
Guido van Rossum yazdı
-
- 21 Kas, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 14 Agu, 2002 4 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
- 30 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 07 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 19 Şub, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 28 Ara, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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!
-
- 18 Eyl, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-