- 11 Sep, 2018 20 commits
-
-
Oren Milman authored
closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788)
-
Bram authored
The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`. <!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) --> https://bugs.python.org/issue34613 <!-- /issue-number -->
-
Steve Dower authored
-
wim glenn authored
<!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --> https://bugs.python.org/issue28617 <!-- /issue-number -->
-
Berker Peksag authored
Although the kernel accepts any negative value for timeout, the documented value to block indefinitely is -1. This commit also makes the code similar to select.poll.poll().
-
Andrew Svetlov authored
-
Yury Selivanov authored
Rewritten/updated sections: * Event Loop APIs * Transports & Protocols * Streams * Exceptions * Policies * Queues * Subprocesses * Platforms
-
Oren Milman authored
-
Zackery Spytz authored
8621bb5d sets the filename in directly in the FileNotFoundError, so we may revert the earlier fix 5f780400.
-
Ned Deily authored
-
Andrés Delfino authored
-
Zackery Spytz authored
Mention the implicit cache in struct.Struct() docs. Consistent with the re.compile documentation note.
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
Matthias Bussonnier authored
Emit warning when None passed explicitly, list Python version since deprecation in warning message and docs.
-
Lew Kurtz authored
Remove ellipsis that look like continuation prompts, has a side benefit of putting rest of error message in proper text color.
-
Ville Skyttä authored
-
Daniel Hahler authored
-
Anthony Sottile authored
This docstring has drifted since python2: https://github.com/python/cpython/blob/ca079a3ea30098aff3197c559a0e32d42dda6d84/Lib/encodings/__init__.py#L68
-
Gregory P. Smith authored
When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close the original fds after dup'ing them. This implementation and unittest primarily came from @izbyshev (see the PR) See also https://github.com/izbyshev/cpython/commit/b89b52f28490b69142d5c061604b3a3989cec66c This also removes the old manual p2cread, c2pwrite, and errwrite closing logic as inheritable flags and _close_open_fds takes care of that properly today without special treatment. This code is within child_exec() where it is the only thread so there is no race condition between the dup and _Py_set_inheritable_async_safe call.
-
- 10 Sep, 2018 13 commits
-
-
Zachary Ware authored
Check for functionality via imports rather than checking sys.platform specifically for Windows
-
NotAFile authored
-
Tal Einat authored
-
Rahul Jha authored
* bpo-33217: Raise TypeError for non-Enum lookups in Enums
-
Matthias Bussonnier authored
HMAC's digestmod was deprecated marked for removal, this removes it as planned.
-
Sebastian Rittau authored
-
Berker Peksag authored
-
Peter Eisentraut authored
Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize.
-
Benjamin Peterson authored
The recursive frame pruning code always undercounted the number of elided frames by one. That is, in the "[Previous line repeated N more times]" message, N would always be one too few. Near the recursive pruning cutoff, one frame could be silently dropped. That situation is demonstrated in the OP of the bug report. The fix is to start the identical frame counter at 1.
-
Tal Einat authored
also mention the change and its consequences in What's New
-
Sergey Fedoseev authored
-
Rémy HUBSCHER authored
This reverts commit 10b59f1b.
-
Zackery Spytz authored
-
- 08 Sep, 2018 2 commits
-
-
Julien Malard authored
This caused installation errors in some cases on Windows. Patch by Julien Malard.
-
Serhiy Storchaka authored
* Make its default value an empty tuple instead of None. * Make it a keyword-only parameter.
-
- 07 Sep, 2018 5 commits
-
-
Pablo Galindo authored
* Add elimination of non-int-like parameters in math.factorial to "What's new".
-
Pablo Galindo authored
* Make sure that when some of the tests in test_smtplib fail, the allocated threads and sockets are not leaked. * Use support.join_thread() instead of thread.join() to avoid infinite blocks.
-
Pablo Aguiar authored
Some methods of the SMTP class use mutable default arguments. Specially `send_message` is affected as it mutates one of the args by appending items to it, which has side effects on further calls.
-
Zackery Spytz authored
-
William Grzybowski authored
Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8.
-