- 13 Jun, 2017 5 commits
-
-
Victor Stinner authored
Don't run Python in an empty environment, but copy the current environment and set PYTHONIOENCODING. So the test works also on Python compiled in shared mode (using libpython).
-
Antoine Pitrou authored
-
Antoine Pitrou authored
* Fix race condition in signal wakeup in forkserver (followup to PR #1989) There's an admittedly well-known race condition where ECHILD can arrive just before the C function epoll_wait() and the latter wouldn't therefore return EINTR. The solution is to use set_wakeup_fd(), which was designed to avoid such race conditions. * Reset wakeup fd in child
-
Andrew Kuchling authored
Move up the discussion about 'with' keyword, so it appears earlier in the document.
-
Stéphane Wirtel authored
-
- 12 Jun, 2017 7 commits
-
-
Antoine Pietri authored
-
Antoine Pitrou authored
* Fix bpo-30589: improve Process.exitcode with forkserver When the child is killed, Process.exitcode should return -signum, not 255. * Add Misc/NEWS
-
Giampaolo Rodola authored
bpo-30624 / selectors: use bare 'except' clause instead of 'except Exception'
-
Stéphane Wirtel authored
-
mircea-cosbuc authored
If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored.
-
Serhiy Storchaka authored
The traceback no longer displayed for SystemExit raised in a callback registered by atexit.
-
suketa authored
import json before using json module
-
- 11 Jun, 2017 11 commits
-
-
Yury Selivanov authored
Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409)" (#2111) This reverts commit a608d2d5.
-
Yury Selivanov authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
The depth argument limits recursion.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
SSLObject has recv() and send(), but they don't do any network io.
-
Zachary Ware authored
Also fixed a few more line endings that were missed in GH-840, which were causing failure.
-
Nick Coghlan authored
- new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time
-
Zachary Ware authored
-
terryjreedy authored
-
terryjreedy authored
-
- 10 Jun, 2017 13 commits
-
-
Giampaolo Rodola authored
#30624 / selectors: use bare except clause in order to not leave the fd in a bad state in case of error (#2082)
-
Zachary Ware authored
Updates checked-in line endings on several files.
-
Ivan Levkivskyi authored
This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager.
-
KatherineMichel authored
-
Victor Stinner authored
Mock os.register_at_fork() when importing the random module, since this function doesn't allow to unregister callbacks and so leaked memory.
-
Victor Stinner authored
multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
-
Serhiy Storchaka authored
-
Roy Williams authored
Running our unit tests with `-bb` enabled triggered this failure.
-
Sylvain authored
The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
-
csabella authored
Mention that fnmatchcase does not call normcase, and fnmatch does.
-
Nikolay Kim authored
* asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error
-
Jim Fasarakis-Hilliard authored
-
Zachary Ware authored
-
- 09 Jun, 2017 4 commits
-
-
Brett Cannon authored
This will allow for centralized management of the Codecov config to prevent skew as well as easier management going forward. Closes python/core-workflow#81.
-
Yury Selivanov authored
-
Michaël Sghaïer authored
-
Nikolay Kim authored
-