- 08 Eyl, 2013 27 kayıt (commit)
-
-
Tim Peters yazdı
The fix for issue 18808 left us checking two things to be sure a Thread was done: an Event (._stopped) and a mutex (._tstate_lock). Clumsy & brittle. This patch removes the Event, leaving just a happy lock :-) The bulk of the patch removes two excruciating tests, which were verifying sanity of the internals of the ._stopped Event after a fork. Thanks to Antoine Pitrou for verifying that's the only real value these tests had. One consequence of moving from an Event to a mutex: waiters (threads calling Thread.join()) used to block each on their own unique mutex (internal to the ._stopped event), but now all contend on the same mutex (._tstate_lock). These approaches have different performance characteristics on different platforms. I don't think it matters in this context.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
module is present (to record skipped tests)
-
Antoine Pitrou yazdı
(AFAICT, in theory, we must reset all the locks, not just those in use)
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
'--timeout' option requires faulthandler.dump_traceback_later).
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
faulthandler module if the variable is non-empty. Same behaviour than other variables like PYTHONDONTWRITEBYTECODE.
-
Charles-François Natali yazdı
default RLIMIT_NOFILE hard limit can be RLIMIT_INFINITY.
-
Charles-François Natali yazdı
to avoid one extra FD per Connection.
-
Raymond Hettinger yazdı
-
Senthil Kumaran yazdı
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry. Addresses issue #18438
-
Senthil Kumaran yazdı
Addresses issue #18438
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
The setobject freelist was consuming memory but not providing much value. Even when a freelisted setobject was available, most of the setobject fields still needed to be initialized and the small table still required a memset(). This meant that the custom freelisting scheme for sets was providing almost no incremental benefit over the default Python freelist scheme used by _PyObject_Malloc() in Objects/obmalloc.c.
-
Nick Coghlan yazdı
-
Tim Peters yazdı
test_is_alive_after_fork is failing on some old Linux kernels, but passing on all newer ones. Since virtually anything can go wrong with locks when mixing threads with fork, replace the most likely cause with a redundant simple data member.
-
Nick Coghlan yazdı
When test.support was converted to a package, it started silently skipping the tests which needed to download support data to run. This change refactors the affected code, and also tidies up test.support.findfile to remove the unused *here* parameter, document the *subdir* parameter and rename the *filename* parameter to avoid shadowing the file builtin and be consistent with the documentation. The unexpected skips were noticed and reported by Zachary Ware
-
Senthil Kumaran yazdı
Correct Profile class usage example. Addresses issue #18033. Patch contributed by Olivier Hervieu and Dmi Baranov.
-
Senthil Kumaran yazdı
Patch contributed by Olivier Hervieu and Dmi Baranov.
-
Raymond Hettinger yazdı
-
- 07 Eyl, 2013 13 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Antoine Pitrou yazdı
Issue #18808: Thread.join() now waits for the underlying thread state to be destroyed before returning. This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.
-
Senthil Kumaran yazdı
-
Senthil Kumaran yazdı
Fix License URL display and add test to check for license url presence. Fixes issue #18206 Patch contributed by Berker Peksag and py.user
-
Senthil Kumaran yazdı
Fixes issue #18206 Patch contributed by Berker Peksag and py.user
-
Senthil Kumaran yazdı
Removing the mention of os.isatty mention as Unix only Correct the wrong documentation.
-
Senthil Kumaran yazdı
Correct the wrong documentation.
-
Richard Oudkerk yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Victor Stinner yazdı
Patch written by Vajrasky Kok.
-