- 11 Sep, 2018 8 commits
-
-
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 15 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.
-
Victor Stinner authored
-
Victor Stinner authored
* Add %T format to PyUnicode_FromFormatV(), and so to PyUnicode_FromFormat() and PyErr_Format(), to format an object type name: equivalent to "%s" with Py_TYPE(obj)->tp_name. * Replace Py_TYPE(obj)->tp_name with %T format in unicodeobject.c. * Add unit test on %T format. * Rename unicode_fromformat_write_cstr() to unicode_fromformat_write_utf8(), to make the intent more explicit.
-
Pablo Galindo authored
Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API.
-
Victor Stinner authored
* Replace "master process" with "parent process" * Replace "master option mappings" with "main option mappings" * Replace "master pattern object" with "main pattern object" * ssl: replace "master" with "server" * And some other similar changes
-
Victor Stinner authored
Rename also run_tests_slave() to run_tests_worker().
-
William Grzybowski authored
Release GIL on grp.getgrnam(), grp.getgrgid(), pwd.getpwnam() and pwd.getpwuid() if reentrant variants of these functions are available. Patch by William Grzybowski.
-
Julien Palard authored
-
Sergey Fedoseev authored
-
jdemeyer authored
When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self".
-
Sergey Fedoseev authored
-
- 06 Sep, 2018 2 commits
-
-
Zackery Spytz authored
-
Tal Einat authored
Co-Authored-By: Wouter Bolsterlee.
-