summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135)Shantanu2020-05-231-1/+5
|
* bpo-40439: Update broken link in lexical analysis docs (GH-20184)Matteo Bertucci2020-05-221-1/+1
| | | Automerge-Triggered-By: @csabella
* [doc] Add missing space in urllib.request.rst (GH-19860)Sardorbek Imomaliev2020-05-221-1/+1
| | | This is just a typo fix, should I still provide news file?
* Cosmetic smtplib changes (GH-8718)Ville Skyttä2020-05-222-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)Antoine2020-05-222-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 Sweeney2020-05-224-16/+68
| | | | Patch by Dennis Sweeney.
* bpo-40696: Fix a hang that can arise after gen.throw() (GH-20287)Chris Jerdonek2020-05-227-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 Heimes2020-05-226-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 Askar2020-05-221-6/+9
|
* bpo-40730: Remove redundant 'to' (GH-20316)Florian Dahlitz2020-05-221-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 Hettinger2020-05-222-46/+117
|
* bpo-40630: Add tracemalloc.reset_peak (GH-20102)Huon Wilson2020-05-227-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 Hettinger2020-05-221-30/+30
|
* Fix debug output in PEG parser generator (GH-20308)Pablo Galindo2020-05-221-3/+3
|
* bpo-40334: Produce better error messages for non-parenthesized genexps ↵Lysandros Nikolaou2020-05-225-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 Delfino2020-05-211-8/+2
|
* bpo-40715: Reject dict unpacking on dict comprehensions (GH-20292)Batuhan Taskaya2020-05-213-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 Taskaya2020-05-213-151/+220
|
* Fix typing problems reported by mypy in pegen (GH-20297)Pablo Galindo2020-05-212-27/+23
|
* Reword aware/naive introduction sentence (GH-20175)Mathieu Dupuy2020-05-211-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 Taskaya2020-05-211-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 Na2020-05-221-2/+4
|
* Improve output summary in the examples and recipes section (GH-20285)Raymond Hettinger2020-05-211-3/+3
|
* bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278)Kyle Stanley2020-05-203-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 Lapeyre2020-05-201-17/+17
|
* Update whatsnew benchmark results for 3.9 (GH-20276)Raymond Hettinger2020-05-201-0/+55
|
* s/wakup/wakeup (GH-20250)Kunal Bhalla2020-05-201-1/+1
| | | | | (as title) Automerge-Triggered-By: @Mariatta
* Use v2 of GitHub Actions where available (GH-20232)Hugo van Kemenade2020-05-203-5/+5
| | | Automerge-Triggered-By: @Mariatta
* bpo-40698: Improve distutils upload hash digests (GH-20260)Christian Heimes2020-05-204-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 Deily2020-05-201-6/+7
|
* Fix the URL to fishshell.com (GH-20251)Jonathan Goble2020-05-191-1/+1
|
* bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248)karl ding2020-05-191-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 Stinner2020-05-201-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 Heimes2020-05-191-1/+7
| | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran
* bpo-38870: invalid escape sequence (GH-20240)Batuhan Taskaya2020-05-191-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 Dower2020-05-191-0/+2
|
* bpo-32604: PEP 554 for use in test suite (GH-19985)Joannah Nanjekye2020-05-194-0/+865
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PEP 554 for use in test suite * 📜🤖 Added by blurb_it. * Fix space * Add doc to doc tree * Move to modules doc tree * Fix suspicious doc errors * Fix test__all * Docs docs docs * Support isolated and fix wait * Fix white space * Remove undefined from __all__ * Fix recv and add exceptions * Remove unused exceptions, fix pep 8 formatting errors and fix _NOT_SET in recv_nowait() Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Enable GitHub Actions for 3.9 branch (GH-20231)Hugo van Kemenade2020-05-194-0/+8
|
* bpo-37616: Handle version information more gracefully in getpath.c (GH-20214)Pablo Galindo2020-05-191-9/+3
|
* bpo-40683: Add zoneinfo to LIBSUBDIRS (#20229)Paul Ganssle2020-05-192-1/+5
| | | | | Without this, only the _zoneinfo module is getting installed, not the zoneinfo module. I believe this was not noticed earlier because test.test_zoneinfo was also not being installed.
* Fix typo in multiprocessing documentation (GH-20016)Joe DeCapo2020-05-191-1/+1
|
* Doc: Python 3.10 in sidebar and version switcher. (GH-20209)Julien Palard2020-05-192-2/+4
|
* bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206)Minmin Gong2020-05-192-0/+5
| | | This allows building with older versions of the Windows SDK where the value is not defined.
* bpo-39631: Fix file association MIME type in the Windows installer (GH-20205)Zackery Spytz2020-05-191-2/+2
| | | Use text/x-python instead of text/plain to avoid issues with tools assuming that "ShellExecute(script)" is a non-executable operation.
* 3.10 whatsnew needs to use blurb-produced changelog (GH-20213)Ned Deily2020-05-191-1/+1
|
* Consolidate 3.9.0b1 NEWS in the master branchŁukasz Langa2020-05-1996-173/+960
|
* bpo-32309: Implement asyncio.to_thread() (GH-20143)Kyle Stanley2020-05-187-0/+171
| | | | | Implements `asyncio.to_thread`, a coroutine for asynchronously running IO-bound functions in a separate thread without blocking the event loop. See the discussion starting from [here](https://github.com/python/cpython/pull/18410#issuecomment-628930973) in GH-18410 for context. Automerge-Triggered-By: @aeros
* Python 3.10.0a0 (GH-20198)Pablo Galindo2020-05-1913-834/+951
|
* Fix code-block in zoneinfo (GH-20201)Anthony Sottile2020-05-181-2/+2
| | | | | | | | | | | | | | ``` Warning, treated as error: /tmp/code/Doc/library/zoneinfo.rst:303:Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: >>> a = ZoneInfo("Europe/Berlin") >>> b = pickle.loads(europe_berlin_pkl) >>> a is b True ```
* bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194)Pablo Galindo2020-05-181-1/+1
|