Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40671: Prepare _hashlib for PEP 489 (GH-20180) | Christian Heimes | 2020-05-25 | 2 | -67/+115 |
| | |||||
* | bpo-40695: Limit hashlib builtin hash fallback (GH-20259) | Christian Heimes | 2020-05-25 | 2 | -2/+6 |
| | | | | | | | :mod:`hashlib` no longer falls back to builtin hash implementations when OpenSSL provides a hash digest and the algorithm is blocked by security policy. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-35714: Reject null characters in struct format strings (GH-16928) | Zackery Spytz | 2020-05-25 | 3 | -0/+15 |
| | | | | struct.error is now raised if there is a null character in a struct format string. | ||||
* | bpo-38580: Document that select() accepts iterables, not just sequences ↵ | Jakub Stasiak | 2020-05-25 | 3 | -8/+8 |
| | | | | (GH-16832) | ||||
* | bpo-40334: Support suppressing of multiple optional variables in Pegen ↵ | Batuhan Taskaya | 2020-05-24 | 1 | -2/+2 |
| | | | | (GH-20367) | ||||
* | bpo-36290: Fix keytword collision handling in AST node constructors (GH-12382) | Rémi Lapeyre | 2020-05-24 | 5 | -6/+66 |
| | |||||
* | bpo-17050: Remove documentation on argparse.REMAINDER (GH-18661) | Albert | 2020-05-24 | 1 | -13/+0 |
| | | | | | Closes [Issue 17050]() by removing argparse.REMAINDER from the documentation, as discussed on the issue. Automerge-Triggered-By: @rhettinger | ||||
* | bpo-40443: Remove unused imports in the zoneinfo (GH-20354) | Dong-hee Na | 2020-05-24 | 2 | -4/+0 |
| | |||||
* | bpo-37309: Update IDLE NEWS.txt (GH-20356) | Terry Jan Reedy | 2020-05-24 | 1 | -0/+1 |
| | |||||
* | bpo-40723: Make IDLE autocomplete test run without __main__.__file__ (GH-20311) | Florian Dahlitz | 2020-05-24 | 3 | -1/+4 |
| | | | | This was the only failure running unittest.main(test.test_idle) after imports. | ||||
* | bpo-37973: Improve the docstrings of sys.float_info (GH-19218) | Zackery Spytz | 2020-05-24 | 1 | -2/+4 |
| | | | Taken from https://docs.python.org/3/library/sys.html#sys.float_info | ||||
* | Remove spurious NULL in descrobject.c (GH-20344) | Hai Shi | 2020-05-24 | 1 | -1/+0 |
| | | | Co-authored-by: hai shi <shihai1991@126.com> | ||||
* | Use Py_ssize_t for the column number in the PEG support code (GH-20341) | Pablo Galindo | 2020-05-24 | 1 | -1/+1 |
| | |||||
* | bpo-40405: Fix asyncio.as_completed docs (GH-19753) | Bar Harel | 2020-05-23 | 1 | -5/+5 |
| | | | | | | | | * Fix as_completed docs to correctly state the function return value. * Also, improves the general wording of the as_completed documentation. Co-Authored-By: Rémi Lapeyre <remi.lapeyre@henki.fr> Co-Authored-By: Kyle Stanley <aeros167@gmail.com> Co-Authored-By: Yury Selivanov <yury@edgedb.com> | ||||
* | bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135) | Shantanu | 2020-05-23 | 1 | -1/+5 |
| | |||||
* | bpo-40439: Update broken link in lexical analysis docs (GH-20184) | Matteo Bertucci | 2020-05-23 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @csabella | ||||
* | [doc] Add missing space in urllib.request.rst (GH-19860) | Sardorbek Imomaliev | 2020-05-23 | 1 | -1/+1 |
| | | | This is just a typo fix, should I still provide news file? | ||||
* | Cosmetic smtplib changes (GH-8718) | Ville Skyttä | 2020-05-23 | 2 | -6/+7 |
| | | | | | Some cosmetic smtplib changes here. Let me know if you'd like a bpo/news entry or splitting this PR into two. Automerge-Triggered-By: @maxking | ||||
* | bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992) | Antoine | 2020-05-23 | 2 | -0/+5 |
| | | | | | | | * Add 'users' variable in code sample. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-40679: Use the function's qualname in certain TypeErrors (GH-20236) | Dennis Sweeney | 2020-05-22 | 4 | -16/+68 |
| | | | | Patch by Dennis Sweeney. | ||||
* | bpo-40696: Fix a hang that can arise after gen.throw() (GH-20287) | Chris Jerdonek | 2020-05-22 | 7 | -23/+130 |
| | | | | | | | | This updates _PyErr_ChainStackItem() to use _PyErr_SetObject() instead of _PyErr_ChainExceptions(). This prevents a hang in certain circumstances because _PyErr_SetObject() performs checks to prevent cycles in the exception context chain while _PyErr_ChainExceptions() doesn't. | ||||
* | bpo-9216: hashlib usedforsecurity fixes (GH-20258) | Christian Heimes | 2020-05-22 | 6 | -34/+90 |
| | | | | | | | | | func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP constructor ``_hashlib.new()``. test_hashlib and test_smtplib handle strict security policy better. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran | ||||
* | bpo-40705: Fix use-after-free in _zoneinfo's module_free (GH-20280) | Ammar Askar | 2020-05-22 | 1 | -6/+9 |
| | |||||
* | bpo-40730: Remove redundant 'to' (GH-20316) | Florian Dahlitz | 2020-05-22 | 1 | -1/+1 |
| | | | | | @ericvsmith I guess it is correct to merge it into master and not 3.9 directly? Automerge-Triggered-By: @ericvsmith | ||||
* | Let the argument clinic do the type checking for heapq (GH-20284) | Raymond Hettinger | 2020-05-22 | 2 | -46/+117 |
| | |||||
* | bpo-40630: Add tracemalloc.reset_peak (GH-20102) | Huon Wilson | 2020-05-22 | 7 | -1/+138 |
| | | | | | | | The reset_peak function sets the peak memory size to the current size, representing a resetting of that metric. This allows for recording the peak of specific sections of code, ignoring other code that may have had a higher peak (since the most recent `tracemalloc.start()` or tracemalloc.clear_traces()` call). | ||||
* | Restore missing column of digits (GH-20313) | Raymond Hettinger | 2020-05-22 | 1 | -30/+30 |
| | |||||
* | Fix debug output in PEG parser generator (GH-20308) | Pablo Galindo | 2020-05-22 | 1 | -3/+3 |
| | |||||
* | bpo-40334: Produce better error messages for non-parenthesized genexps ↵ | Lysandros Nikolaou | 2020-05-22 | 5 | -6/+79 |
| | | | | | | (GH-20153) The error message, generated for a non-parenthesized generator expression in function calls, was still the generic `invalid syntax`, when the generator expression wasn't appearing as the first argument in the call. With this patch, even on input like `f(a, b, c for c in d, e)`, the correct error message gets produced. | ||||
* | [doc] Remove references to obsolete BuildApplet on macOS. (GH-20023) | Andre Delfino | 2020-05-21 | 1 | -8/+2 |
| | |||||
* | bpo-40715: Reject dict unpacking on dict comprehensions (GH-20292) | Batuhan Taskaya | 2020-05-21 | 3 | -208/+308 |
| | | | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com> | ||||
* | bpo-40176: Improve error messages for trailing comma on from import (GH-20294) | Batuhan Taskaya | 2020-05-21 | 3 | -151/+220 |
| | |||||
* | Fix typing problems reported by mypy in pegen (GH-20297) | Pablo Galindo | 2020-05-21 | 2 | -27/+23 |
| | |||||
* | Reword aware/naive introduction sentence (GH-20175) | Mathieu Dupuy | 2020-05-21 | 1 | -1/+2 |
| | | | | | This is more informative and avoids the question of whether the period should go inside or outside the quotation marks. See also GH-20007. | ||||
* | bpo-40334: Correctly generate C parser when assigned var is None (GH-20296) | Batuhan Taskaya | 2020-05-21 | 1 | -1/+4 |
| | | | | | When there are 2 negative lookaheads in the same rule, let's say `!"(" blabla "," !")"`, there will the 2 `FunctionCall`'s where assigned value is None. Currently when the `add_var` is called the first one will be ignored but when the second lookahead's var is sent to dedupe it will be returned as `None_1` and this won't be ignored by the declaration generator in the `visit_Alt`. This patch adds an explicit check to `add_var` to distinguish whether if there is a variable or not. | ||||
* | bpo-40714: Remove compile warning from _zoneinfo.c (GH-20291) | Dong-hee Na | 2020-05-21 | 1 | -2/+4 |
| | |||||
* | Improve output summary in the examples and recipes section (GH-20285) | Raymond Hettinger | 2020-05-21 | 1 | -3/+3 |
| | |||||
* | bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) | Kyle Stanley | 2020-05-21 | 3 | -3/+25 |
| | | | | | Allows contextvars from the main thread to be accessed in the separate thread used in `asyncio.to_thread()`. See the [discussion](https://github.com/python/cpython/pull/20143#discussion_r427808225) in GH-20143 for context. Automerge-Triggered-By: @aeros | ||||
* | Use f-strings in argparse HOWTO (GH-20070) | Rémi Lapeyre | 2020-05-21 | 1 | -17/+17 |
| | |||||
* | Update whatsnew benchmark results for 3.9 (GH-20276) | Raymond Hettinger | 2020-05-21 | 1 | -0/+55 |
| | |||||
* | s/wakup/wakeup (GH-20250) | Kunal Bhalla | 2020-05-20 | 1 | -1/+1 |
| | | | | | (as title) Automerge-Triggered-By: @Mariatta | ||||
* | Use v2 of GitHub Actions where available (GH-20232) | Hugo van Kemenade | 2020-05-20 | 3 | -5/+5 |
| | | | Automerge-Triggered-By: @Mariatta | ||||
* | bpo-40698: Improve distutils upload hash digests (GH-20260) | Christian Heimes | 2020-05-20 | 4 | -5/+50 |
| | | | | | | | - Fix upload test on systems that blocks MD5 - Add SHA2-256 and Blake2b-256 digests based on new Warehous and twine specs. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-34956: edit and format better NEWS item in 3.9.0b1 changelog (GH-20255) | Ned Deily | 2020-05-20 | 1 | -6/+7 |
| | |||||
* | Fix the URL to fishshell.com (GH-20251) | Jonathan Goble | 2020-05-20 | 1 | -1/+1 |
| | |||||
* | bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248) | karl ding | 2020-05-20 | 1 | -0/+3 |
| | | | | | | This mentions the new CAN_J1939 implementation in the What's New documentation for Python 3.9 Automerge-Triggered-By: @gvanrossum | ||||
* | bpo-40521: Fix update_slot() when INTERN_NAME_STRINGS is not defined (#20246) | Victor Stinner | 2020-05-19 | 1 | -1/+10 |
| | | | | Fix type update_slot() function when the macro INTERN_NAME_STRINGS is not defined: use _PyUnicode_EQ() in this case. | ||||
* | bpo-40645: restrict HMAC key len to INT_MAX (GH-20238) | Christian Heimes | 2020-05-19 | 1 | -1/+7 |
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran | ||||
* | bpo-38870: invalid escape sequence (GH-20240) | Batuhan Taskaya | 2020-05-19 | 1 | -1/+1 |
| | | | | | `/home/isidentical/cpython/cpython/Lib/test/test_unparse.py:333: DeprecationWarning: invalid escape sequence \X` Automerge-Triggered-By: @pablogsal | ||||
* | bpo-39631: Adds NEWS entry (GH-20227) | Steve Dower | 2020-05-19 | 1 | -0/+2 |
| |