Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | closes bpo-29832: Remove "getsockaddrarg" from error messages. (GH-3163) | Oren Milman | 2018-09-11 | 2 | -60/+121 |
| | |||||
* | closes bpo-32490: Fix filename duplication in subprocess exception message. ↵ | Zackery Spytz | 2018-09-11 | 3 | -3/+5 |
| | | | | | (GH-9163) 8621bb5d93239316f97281826461b85072ff6db7 sets the filename in directly in the FileNotFoundError, so we may revert the earlier fix 5f780400572508a8179de6a6c13b58b7be417ef5. | ||||
* | bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) | Ned Deily | 2018-09-11 | 2 | -3/+4 |
| | |||||
* | closes bpo-33883: Mention type checkers in the FAQ. (GH-7760) | Andrés Delfino | 2018-09-11 | 1 | -0/+5 |
| | |||||
* | bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700) | Zackery Spytz | 2018-09-11 | 1 | -0/+6 |
| | | | | | Mention the implicit cache in struct.Struct() docs. Consistent with the re.compile documentation note. | ||||
* | bpo-34625: Update vendorized expat version to 2.2.6. (GH-9150) | Benjamin Peterson | 2018-09-11 | 5 | -27/+70 |
| | |||||
* | Fix missing line from example shell session (GH-9143) | Raymond Hettinger | 2018-09-11 | 1 | -0/+1 |
| | |||||
* | bpo-33487: improve BZ2File Deprecation and documentation. (GH-6785) | Matthias Bussonnier | 2018-09-11 | 3 | -6/+17 |
| | | | | Emit warning when None passed explicitly, list Python version since deprecation in warning message and docs. | ||||
* | bpo-33460: remove ellipsis that look like continuation prompts (GH-7851) | Lew Kurtz | 2018-09-11 | 2 | -4/+11 |
| | | | | | Remove ellipsis that look like continuation prompts, has a side benefit of putting rest of error message in proper text color. | ||||
* | Use bytes.hex instead of binascii.hexlify in pbkdf2_hmac example (GH-8420) | Ville Skyttä | 2018-09-11 | 1 | -3/+3 |
| | |||||
* | Lib/test/support: fix typo in docstring (GH-8506) | Daniel Hahler | 2018-09-11 | 1 | -2/+2 |
| | |||||
* | Remove obsolete comment about latin-1 in `normalize_encoding` (GH-8739) | Anthony Sottile | 2018-09-11 | 1 | -2/+1 |
| | | | This docstring has drifted since python2: https://github.com/python/cpython/blob/ca079a3ea30098aff3197c559a0e32d42dda6d84/Lib/encodings/__init__.py#L68 | ||||
* | bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242) | Gregory P. Smith | 2018-09-11 | 3 | -10/+46 |
| | | | | | | | | | | | | | | 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. | ||||
* | bpo-8110: Refactor platform detection in subprocess (GH-9053) | Zachary Ware | 2018-09-10 | 2 | -55/+58 |
| | | | | Check for functionality via imports rather than checking sys.platform specifically for Windows | ||||
* | switch descriptor howto to return value annotation (GH-7796) | NotAFile | 2018-09-10 | 1 | -3/+3 |
| | |||||
* | bpo-20180: itertools.groupby Argument Clinic conversion (GH-4170) | Tal Einat | 2018-09-10 | 2 | -23/+105 |
| | |||||
* | bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651) | Rahul Jha | 2018-09-10 | 4 | -5/+62 |
| | | | * bpo-33217: Raise TypeError for non-Enum lookups in Enums | ||||
* | bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 ↵ | Matthias Bussonnier | 2018-09-10 | 4 | -33/+13 |
| | | | | | (GH-7063) HMAC's digestmod was deprecated marked for removal, this removes it as planned. | ||||
* | closes bpo-34525: Fix smtplib's authobject() documentation (GH-8965) | Sebastian Rittau | 2018-09-10 | 2 | -3/+3 |
| | |||||
* | bpo-26502: Implement FrameSummary.__len__() (GH-8632) | Berker Peksag | 2018-09-10 | 3 | -0/+10 |
| | |||||
* | Fix misleading mentions of tp_size in comments (GH-9093) | Peter Eisentraut | 2018-09-10 | 15 | -21/+21 |
| | | | | Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize. | ||||
* | bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) | Benjamin Peterson | 2018-09-10 | 4 | -26/+96 |
| | | | | | | | | 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. | ||||
* | bpo-30977: rework code changes according to post-merge code review (GH-9106) | Tal Einat | 2018-09-10 | 3 | -68/+146 |
| | | | | also mention the change and its consequences in What's New | ||||
* | Test dict values iterator pickling with pickle.HIGHEST_PROTOCOL. (GH-9052) | Sergey Fedoseev | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | Revert "Fix misindented yaml in logging how to example (GH-8604)" (GH-9081) | Rémy HUBSCHER | 2018-09-10 | 1 | -3/+3 |
| | | | This reverts commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f. | ||||
* | Remove unneeded PyUnicode_READY() in tokenizer.c (GH-9114) | Zackery Spytz | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | bpo-34421 avoid unicode error in distutils logging (GH-8799) | Julien Malard | 2018-09-08 | 2 | -1/+5 |
| | | | | This caused installation errors in some cases on Windows. Patch by Julien Malard. | ||||
* | bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725) | Serhiy Storchaka | 2018-09-08 | 4 | -40/+41 |
| | | | | | * Make its default value an empty tuple instead of None. * Make it a keyword-only parameter. | ||||
* | bpo-33083: Update "What's new" with math.factorial changes (GH-9109) | Pablo Galindo | 2018-09-07 | 1 | -0/+3 |
| | | | * Add elimination of non-int-like parameters in math.factorial to "What's new". | ||||
* | bpo-34246: Make sure test_smtplib always cleans resources when finished ↵ | Pablo Galindo | 2018-09-07 | 1 | -7/+47 |
| | | | | | | | | (GH-9108) * 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. | ||||
* | bpo-34246: Use no mutable default args in smtplib (GH-8554) | Pablo Aguiar | 2018-09-07 | 5 | -8/+39 |
| | | | | | 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. | ||||
* | bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) | Zackery Spytz | 2018-09-07 | 1 | -0/+7 |
| | |||||
* | bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) | William Grzybowski | 2018-09-07 | 4 | -17/+19 |
| | | | | Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8. | ||||
* | bpo-34605: childs => children (GH-9102) | Victor Stinner | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080) | Victor Stinner | 2018-09-07 | 4 | -53/+66 |
| | | | | | | | | | * 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. | ||||
* | bpo-20104: Add flag capabilities to posix_spawn (GH-6693) | Pablo Galindo | 2018-09-07 | 5 | -14/+344 |
| | | | Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API. | ||||
* | bpo-34605: Avoid master/slave terms (GH-9101) | Victor Stinner | 2018-09-07 | 7 | -7/+7 |
| | | | | | | | * 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 | ||||
* | bpo-34605, libregrtest: Rename --slaveargs to --worker-args (GH-9099) | Victor Stinner | 2018-09-07 | 4 | -15/+15 |
| | | | Rename also run_tests_slave() to run_tests_worker(). | ||||
* | bpo-33625: Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,uid} (GH-7081) | William Grzybowski | 2018-09-07 | 6 | -15/+228 |
| | | | | | | Release GIL on grp.getgrnam(), grp.getgrgid(), pwd.getpwnam() and pwd.getpwuid() if reentrant variants of these functions are available. Patch by William Grzybowski. | ||||
* | Doc: Missing 'f' in an f-string. (GH-9074) | Julien Palard | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | _sre.c: Removed unused SRE_IS_ALNUM macro (GH-9090) | Sergey Fedoseev | 2018-09-07 | 1 | -2/+0 |
| | |||||
* | bpo-25750: fix refcounts in type_getattro() (GH-6118) | jdemeyer | 2018-09-07 | 2 | -6/+13 |
| | | | | When calling tp_descr_get(self, obj, type), make sure that we own a strong reference to "self". | ||||
* | closes bpo-34599: Improve performance of _Py_bytes_capitalize(). (GH-9083) | Sergey Fedoseev | 2018-09-07 | 1 | -17/+3 |
| | |||||
* | closes bpo-34594: Don't hardcode errno values in the tests. (GH-9076) | Zackery Spytz | 2018-09-06 | 3 | -3/+4 |
| | |||||
* | bpo-30977: make uuid.UUID use __slots__ (GH-9078) | Tal Einat | 2018-09-06 | 3 | -2/+88 |
| | | | Co-Authored-By: Wouter Bolsterlee. | ||||
* | closes bpo-34581 : Conditionalize use of __pragma in Modules/socketmodule.c. ↵ | Erik Janssens | 2018-09-05 | 2 | -2/+6 |
| | | | | | | (GH-9067) | ||||
* | bpo-34565: Change a PC/launcher.c comment to accurately describe valid major ↵ | Brendan Gerrity | 2018-09-04 | 1 | -2/+2 |
| | | | | versions. (GH-9037) | ||||
* | bpo-34563: Fix for invalid assert on big output of multiprocessing.Process ↵ | Alexander Buchkovsky | 2018-09-04 | 3 | -9/+10 |
| | | | | | | (GH-9027) Fix for invalid assert on big output of multiprocessing.Process. | ||||
* | bpo-26544: Add test for platform._comparable_version(). (GH-8973) | Serhiy Storchaka | 2018-09-04 | 1 | -0/+36 |
| | |||||
* | bpo-34530: Fix distutils find_executable() (GH-9049) | Victor Stinner | 2018-09-04 | 3 | -3/+50 |
| | | | | distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set. |