- 14 Sep, 2018 23 commits
-
-
Pablo Galindo authored
* Skip posix_spawn scheduler tests on BSD. We were already skyping similar tests as the behaviour can depend on the implementation in some cases.
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Grant authored
-
Eric Snow authored
When os.fork() is called (on platforms that support it) all threads but the current one are destroyed in the child process. Consequently we must ensure that all but the associated interpreter are likewise destroyed. The main interpreter is critical for runtime operation, so we must ensure that fork only happens in the main interpreter. https://bugs.python.org/issue34651
-
Yury Selivanov authored
* bpo-33649: Refresh Tasks and Futures pages * Fixes * Fix markup
-
Tony Flury authored
Co-authored-by: Benjamin Peterson <benjamin@python.org>
-
Benjamin Peterson authored
-
Andrés Delfino authored
-
Carol Willing authored
* small clarification * edits to protocols doc * Edit async queue doc
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Eric V. Smith authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Lisa Roach authored
-
觉 authored
-
Gregory P. Smith authored
bpo-6721: When os.fork() was called while another thread holds a logging lock, the child process may deadlock when it tries to log. This fixes that by acquiring all logging locks before fork and releasing them afterwards. A regression test that fails before this change is included. Within the new unittest itself: There is a small _potential_ due to mixing of fork and a thread in the child process if the parent's thread happened to hold a non-reentrant library call lock (malloc?) when the os.fork() happens. buildbots and time will tell if this actually manifests itself in this test or not. :/ A functionality test that avoids that would be a challenge. An alternate test that isn't trying to produce the deadlock itself but just checking that the release and acquire calls are made would be the next best alternative if so.
-
Benjamin Peterson authored
-
Windson yang authored
Some updates to ancient text about comparisons; fixes bp-34552.
-
Raymond Hettinger authored
-
Carol Willing authored
Second pass for asyncio subprocess and sync docs. https://bugs.python.org/issue33649
-
- 13 Sep, 2018 16 commits
-
-
Andrew Svetlov authored
-
Michael Felt authored
-
Carol Willing authored
-
Benjamin Peterson authored
This test is doesn't work when the test process is privledged, which is hard to detect. https://bugs.python.org/issue34668
-
Benjamin Peterson authored
-
Ned Deily authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Eric V. Smith authored
This function was not in any .h file and was not used by Python, so removing it is safe. https://bugs.python.org/issue34653
-
Gregory P. Smith authored
[bpo-34658](https://www.bugs.python.org/issue34658): Fix a rare interpreter unhandled exception state SystemError only seen when using subprocess with a preexec_fn while an after_parent handler has been registered with os.register_at_fork and the fork system call fails. https://bugs.python.org/issue34658
-
Carol Willing authored
-
Gregory P. Smith authored
This causes the tearDown code to only unimport the test modules specifically created as part of each test via the self.mkhier method rather than abusing test.support.modules_setup() and the scary test.support.modules_cleanup() code. https://bugs.python.org/issue34200
-
Benjamin Peterson authored
A fix for 883702ebb8bbfa749ef0040d1b58d6222bf589ee.
-
Benjamin Peterson authored
-
Carol Willing authored
-
Carol Willing authored
-
- 12 Sep, 2018 1 commit
-
-
Benjamin Peterson authored
-