summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173)Chris Jerdonek2020-05-181-10/+2
| | | _PyErr_ChainStackItem was just added in GH-19951 (for bpo-31033).
* bpo-40275: More lazy imports in test.support (GH-20131)Hai Shi2020-05-1910-77/+81
| | | | | | | | | | | | | | | | | | | Make the the following imports lazy in test.support: * bz2 * gzip * lzma * resource * zlib The following test.support decorators now need to be called with parenthesis: * @support.requires_bz2 * @support.requires_gzip * @support.requires_lzma * @support.requires_zlib For example, "@requires_zlib" becomes "@requires_zlib()".
* Regenerate the parser (#20195)Pablo Galindo2020-05-181-0/+3
|
* bpo-38870: Don't omit parenthesis when unparsing a slice in ast.unparseBatuhan Taskaya2020-05-182-2/+20
| | | | When unparsing a non-empty tuple, the parentheses can be safely omitted if there aren't any elements that explicitly require them (such as starred expressions).
* bpo-40334: Reproduce error message for type comments on bare '*' in the new ↵Lysandros Nikolaou2020-05-185-23/+55
| | | | parser (GH-20151)
* bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166)CyberSaxosTiGER2020-05-182-4/+16
| | | | | | | | | Unprintable characters such as `\x00` weren't correctly roundtripped due to not using default string repr when generating docstrings. This patch correctly encodes all unprintable characters (except `\n` and `\t`, which are commonly used for formatting, and found unescaped). Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
* bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183)Lysandros Nikolaou2020-05-183-15/+29
| | | | | | | | Create a `make venv` target, that creates a virtual environment and installs the dependency in that venv. `make time` and all the related targets are changed to use the virtual environment python. Automerge-Triggered-By: @pablogsal
* bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c ↵Batuhan Taskaya2020-05-183-1/+17
| | | | (GH-20156)
* bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete ↵Irit Katriel2020-05-183-0/+14
| | | | | location information (GH-20157) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-40528: Improve AST generation script to do builds simultaneously (GH-19968)Batuhan Taskaya2020-05-183-102/+83
| | | | | | - Switch from getopt to argparse. - Removed the limitation of not being able to produce both C and H simultaneously. This will make it run faster since it parses the asdl definition once and uses the generated tree to generate both the header and the C source.
* bpo-40661: Fix segfault when parsing invalid input (GH-20165)Lysandros Nikolaou2020-05-184-8/+1603
| | | | | | Fix segfaults when parsing very complex invalid input, like `import äˆ ð£„¯ð¢·žð±‹á”€ð””ð‘©±å®ä±¬ð©¾\nð—¶½`. Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-40257: Revert changes to inspect.getdoc() (GH-20073)Serhiy Storchaka2020-05-186-40/+115
|
* bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974)Minmin Gong2020-05-183-6/+6
|
* bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h ↵Minmin Gong2020-05-182-1/+2
| | | | (GH-20137)
* bpo-40653: Move _dirnameW out of #ifdef HAVE_SYMLINK/#endif (GH-20144)Minmin Gong2020-05-182-2/+7
|
* Revert "bpo-26317: Support OBJC and OBJCXX configure command line variables ↵Ned Deily2020-05-1810-670/+15
| | | | | | | | | (GH-20176)" (GH-20182) This reverts commit 0da546665075aefbb476e192ed64122d340164f4. The commit is causing make failures on a FreeBSD buildbot. Due to the imminent 3.9.0b1 cutoff, revert this commit for now pending further investigation.
* bpo-38112: Document that compileall.compile_[dir,file] also accept multiple ↵Lumír 'Frenzy' Balhar2020-05-181-2/+4
| | | | opt levels (GH-20174)
* bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176)Ned Deily2020-05-1810-15/+670
| | | | | | Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-party compilers, like GNU gcc, to be used to build the rest of the project since some of the Objective C system header files are not compilable by GNU gcc. Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-40548: Github Actions: update actions/checkout to v2 (GH-20164)Filipe Laíns2020-05-181-4/+4
| | | Signed-off-by: Filipe Laíns <lains@archlinux.org>
* bpo-34956: Fix macOS _tkinter use of Tcl/Tk in /Library/Frameworks (GH-20171)Ned Deily2020-05-182-43/+116
| | | | | | | | _tkinter now builds and links with non-system Tcl and Tk frameworks if they are installed in /Library/Frameworks as had been the case on older releases of macOS. If a macOS SDK is explicitly configured, by using ./configure --enable-universalsdk= or -isysroot, only a Library/Frameworks directory in the SDK itself is searched. The default behavior can still be overridden with configure --with-tcltk-includes and --with-tcltk-libs.
* bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)Nathaniel J. Smith2020-05-181-1/+1
|
* bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121)Kjell Braden2020-05-173-8/+17
| | | | | | Ifdef is not necessary, as AF_INET6 is supported from Windows Vista, and other code in overlapped.c uses AF_INET6 and is not ifdef'd. Change the raised exception so users are not fooled to think it comes from Windows API. Automerge-Triggered-By: @njsmith