summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34630: Skip logging SSL certificate errors by asyncio code (GH-9169)Andrew Svetlov2018-09-122-0/+5
|
* closes bpo-34004: Skip lock interruption tests on musl. (GH-9224)Benjamin Peterson2018-09-122-1/+10
| | | | | | | | | | | Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX feature. musl does not provide this feature, so some threadsignal tests fail when Python is built against it. There's no good way to test for musl, so we skip if we're on Linux and not using glibc pthreads. Also, hedge in the threading documentation about when we can provide interrupts from lock acquisition.
* bpo-31577: Fix a crash in os.utime() in case of a bad ns argument. (GH-3752)Oren Milman2018-09-123-0/+24
|
* closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)Benjamin Peterson2018-09-1213-31/+33
|
* bpo-34536: raise error for invalid _missing_ results (GH-9147)Ethan Furman2018-09-123-1/+54
| | | * raise exception if _missing_ returns None or invalid type
* bpo-34638: Store a weak reference to stream reader to break strong ↵Andrew Svetlov2018-09-124-10/+160
| | | | | | | | references loop (GH-9201) Store a weak reference to stream readerfor breaking strong references It breaks the strong reference loop between reader and protocol and allows to detect and close the socket if the stream is deleted (garbage collected)
* bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219)Bumsik Kim2018-09-121-2/+1
|
* bpo-34637: Make the *start* argument for *sum()* visible as a keyword ↵Raymond Hettinger2018-09-125-8/+16
| | | | argument. (GH-9208)
* bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)orlnub1232018-09-127-53/+99
| | | | | * Fix enum members getting shadowed by parent attributes * Move Enum._convert to EnumMeta._convert_ * Deprecate _convert
* bpo-33437: add __new__ vs __init__ example (GH-9145)Ethan Furman2018-09-122-0/+32
| | | | | | Improve Enum docs. https://bugs.python.org/issue33437
* closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206)Benjamin Peterson2018-09-125-81/+0
|
* Simplified implementation of _sre.ascii_iscased(). (GH-9097)Sergey Fedoseev2018-09-121-6/+1
|
* closes bpo-25041: Document AF_PACKET socket address format. (GH-4092)Cheryl Sabella2018-09-123-13/+39
|
* Delete old expat comment. (GH-9197)Benjamin Peterson2018-09-121-8/+0
|
* bpo-33649: Cleanup asyncio/streams and asyncio/synchronization docs (GH-9192)Yury Selivanov2018-09-123-286/+263
|
* bpo-34605: Replace "pliant children" with "helpers" (GH-9195)Victor Stinner2018-09-111-1/+1
| | | | | | | | | In distutils.command.install, replace "pliant children" (previously, it was "pliant slaves") with "helpers". <!-- issue-number: [bpo-34605](https://www.bugs.python.org/issue34605) --> https://bugs.python.org/issue34605 <!-- /issue-number -->
* Remove configure check LOG1P_DROPS_ZERO_SIGN. (GH-9193)Benjamin Peterson2018-09-114-86/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is unused. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. -->
* bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059)Sergey Fedoseev2018-09-112-8/+5
| | | | | | | | Address a C undefined behavior signed integer overflow issue in set object table resizing. Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings. <!-- issue-number: [bpo-1621](https://www.bugs.python.org/issue1621) --> https://bugs.python.org/issue1621 <!-- /issue-number -->
* closes bpo-31903: Release the GIL when calling into SystemConfiguration ↵Max Bélanger2018-09-112-0/+8
| | | | (GH-4178)
* bpo-34636: Use fast path for more chars in SRE category macros. (GH-9170)Sergey Fedoseev2018-09-112-3/+5
| | | | | | | When handling \s, \d, or \w (and their inverse) escapes in bytes regexes this a small but measurable performance improvement. <!-- issue-number: [bpo-34636](https://www.bugs.python.org/issue34636) --> https://bugs.python.org/issue34636 <!-- /issue-number -->
* Make sure the line comes from the same node as the col offset. (GH-9189)Benjamin Peterson2018-09-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. -->
* Revert "bpo-34595: Add %T format to PyUnicode_FromFormatV() (GH-9080)" (GH-9187)Victor Stinner2018-09-114-66/+53
| | | This reverts commit 886483e2b9bbabf60ab769683269b873381dd5ee.
* Initialize a variable to make the compiler happy. (GH-9153)Benjamin Peterson2018-09-111-1/+1
| | | | | | | | | | | GCC complains: Python/pylifecycle.c: In function ‘_Py_InitializeFromConfig’: Python/pylifecycle.c:900:13: warning: ‘interp’ may be used uninitialized in this function [-Wmaybe-uninitialized] err = _Py_InitializeMainInterpreter(interp, &main_config); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This seems spurious since &interp is passed to _Py_InitializeCore. Anyway, we can easily initialize to quiet the warning.
* bpo-20180: convert most of itertoolsmodule.c to use Argument Clinic (GH-9164)Tal Einat2018-09-112-219/+694
|
* closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point ↵guoci2018-09-113-22/+28
| | | | | | to the "async" keyword. (GH-4175) Previously, col_offset points to the keyword after "async".
* bpo-34365: Update date object documentation (GH-8814)Danish Prakash2018-09-111-4/+3
| | | | | | | | Python 3.x does not fall back to comparing object addresses when comparing two `dt` objects. <!-- issue-number: [bpo-34365](https://www.bugs.python.org/issue34365) --> https://bugs.python.org/issue34365 <!-- /issue-number -->
* closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque ↵Oren Milman2018-09-113-4/+30
| | | | with a bad __new__(). (GH-3788)
* bpo-34613: document the correct value of limit argument of ↵Bram2018-09-111-1/+3
| | | | | | | | | | asyncio.StreamReader (GH-9121) 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 -->
* Update VSTS to Azure DevOps and simplify dependencies (GH-9168)Steve Dower2018-09-119-123/+37
|
* bpo-28617 Fixed docs inaccuracies about the types that support membership ↵wim glenn2018-09-112-2/+4
| | | | | | | | tests (GH-9086) <!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --> https://bugs.python.org/issue28617 <!-- /issue-number -->
* bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040)Berker Peksag2018-09-111-8/+15
| | | | | | | 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().
* bpo-34622: Extract asyncio exceptions into a separate module (GH-9141)Andrew Svetlov2018-09-1118-110/+148
|
* bpo-33649: First asyncio docs improvement pass (GH-9142)Yury Selivanov2018-09-1117-1737/+2303
| | | | | | | | | | | | | Rewritten/updated sections: * Event Loop APIs * Transports & Protocols * Streams * Exceptions * Policies * Queues * Subprocesses * Platforms
* closes bpo-29832: Remove "getsockaddrarg" from error messages. (GH-3163)Oren Milman2018-09-112-60/+121
|
* closes bpo-32490: Fix filename duplication in subprocess exception message. ↵Zackery Spytz2018-09-113-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 Deily2018-09-112-3/+4
|
* closes bpo-33883: Mention type checkers in the FAQ. (GH-7760)Andrés Delfino2018-09-111-0/+5
|
* bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700)Zackery Spytz2018-09-111-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 Peterson2018-09-115-27/+70
|
* Fix missing line from example shell session (GH-9143)Raymond Hettinger2018-09-111-0/+1
|
* bpo-33487: improve BZ2File Deprecation and documentation. (GH-6785)Matthias Bussonnier2018-09-113-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 Kurtz2018-09-112-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-111-3/+3
|
* Lib/test/support: fix typo in docstring (GH-8506)Daniel Hahler2018-09-111-2/+2
|
* Remove obsolete comment about latin-1 in `normalize_encoding` (GH-8739)Anthony Sottile2018-09-111-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. Smith2018-09-113-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 Ware2018-09-102-55/+58
| | | | Check for functionality via imports rather than checking sys.platform specifically for Windows
* switch descriptor howto to return value annotation (GH-7796)NotAFile2018-09-101-3/+3
|
* bpo-20180: itertools.groupby Argument Clinic conversion (GH-4170)Tal Einat2018-09-102-23/+105
|
* bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)Rahul Jha2018-09-104-5/+62
| | | * bpo-33217: Raise TypeError for non-Enum lookups in Enums