summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40698: Improve distutils upload hash digests (GH-20260)Miss Islington (bot)2020-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> (cherry picked from commit e572c7f6dbe5397153803eab256e4a4ca3384f80) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-34956: edit and format better NEWS item in 3.9.0b1 changelog (GH-20255)Miss Islington (bot)2020-05-201-6/+7
| | | | | (cherry picked from commit bac170cd93bbae939fcb29ccc6b5d423f7f4a089) Co-authored-by: Ned Deily <nad@python.org>
* bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248)Miss Islington (bot)2020-05-201-0/+3
| | | | | | | | | This mentions the new CAN_J1939 implementation in the What's New documentation for Python 3.9 Automerge-Triggered-By: @gvanrossum (cherry picked from commit 550f30c8f33a2ba844db2ce3da8a897b3e882c9a) Co-authored-by: karl ding <karlding@users.noreply.github.com>
* bpo-40645: restrict HMAC key len to INT_MAX (GH-20238)Miss Islington (bot)2020-05-191-1/+7
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran (cherry picked from commit aca4670ad695d4b01c7880fe3d0af817421945bd) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-38870: invalid escape sequence (GH-20240)Miss Islington (bot)2020-05-191-1/+1
| | | | | | | | `/home/isidentical/cpython/cpython/Lib/test/test_unparse.py:333: DeprecationWarning: invalid escape sequence \X` Automerge-Triggered-By: @pablogsal (cherry picked from commit dd74b6fde31aff9aa46c4fc2a830c569764e1b63) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
* [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 ↵Victor Stinner2020-05-1921-236/+7
| | | | | | | (GH-20228) Remove --with-experimental-isolated-subinterpreters configure option in Python 3.9: the experiment continues in the master branch, but it's no longer needed in 3.9.
* Enable GitHub Actions for 3.9 branch (GH-20231)Miss Islington (bot)2020-05-194-0/+8
| | | | | (cherry picked from commit c105f7d8955ef9bf51125f6e44e8543e5f0618df) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* bpo-40683: Add zoneinfo to LIBSUBDIRS (GH-20229)Miss Islington (bot)2020-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. (cherry picked from commit 2abededbc4165d2daa14ae9d74b1f33cce0593d7) Co-authored-by: Paul Ganssle <paul@ganssle.io>
* Fix code-block in zoneinfo (GH-20201)Miss Islington (bot)2020-05-191-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 ``` (cherry picked from commit 9095f76613c8dd67beb21992def837bb8a37ed25) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206)Miss Islington (bot)2020-05-192-0/+5
| | | | | | This allows building with older versions of the Windows SDK where the value is not defined. (cherry picked from commit 711f9e180a48baba62301735b7f1a58ef0d0e93a) Co-authored-by: Minmin Gong <gongminmin@msn.com>
* bpo-39631: Fix file association MIME type in the Windows installer (GH-20205)Miss Islington (bot)2020-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. (cherry picked from commit 8c862e51248c5ebfec787badec88eb58c9267e1e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.9] Doc: Python 3.10 in sidebar and version switcher. (GH-20209) (GH-20221)Miss Islington (bot)2020-05-192-2/+4
| | | | | | (cherry picked from commit 19e3e0026417caa92ffe21a67157363b45da9aa2) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-32309: Implement asyncio.to_thread() (GH-20143)Miss Islington (bot)2020-05-197-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/18410GH-issuecomment-628930973) in GH-18410 for context. Automerge-Triggered-By: @aeros (cherry picked from commit cc2bbc2227c3f5ed9d8f6b3bd052e6f9e68279d2) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194)Miss Islington (bot)2020-05-191-1/+1
| | | | | (cherry picked from commit 3764069f3ba2a7e932837ae19265059339dc86e3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) (#20202)Miss Islington (bot)2020-05-191-10/+2
| | | | | | | | _PyErr_ChainStackItem was just added in GH-19951 (for bpo-31033). (cherry picked from commit ff7a8b03c49153021d6de5d0b2fa8b5163059ed6) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
* Update README links to point to 3.9 and not masterŁukasz Langa2020-05-191-9/+9
|
* Post 3.9.0b1Łukasz Langa2020-05-191-1/+1
|
* Python 3.9.0b1v3.9.0b1Łukasz Langa2020-05-18100-180/+967
|
* bpo-40275: More lazy imports in test.support (GH-20131)Hai Shi2020-05-1810-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-183-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
* bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951)Chris Jerdonek2020-05-1810-81/+291
| | | | | When an asyncio.Task is cancelled, the exception traceback now starts with where the task was first interrupted. Previously, the traceback only had "depth one."
* bpo-13601: Mention stderr's line buffering in What's New (GH-20168)Shantanu2020-05-181-0/+4
|
* bpo-40651: Improve LRU recipe in the OrderedDict documentation (GH-#20139)qudongfang2020-05-181-0/+2
|
* bpo-40665: Use Argument Clinic for the bisect module (GH-20163)Shantanu2020-05-183-131/+412
|
* bpo-40536: Add zoneinfo.available_timezones (GH-20158)Paul Ganssle2020-05-186-2/+230
| | | | | This was not specified in the PEP, but it will likely be a frequently requested feature if it's not included. This includes only the "canonical" zones, not a simple listing of every valid value of `key` that can be passed to `Zoneinfo`, because it seems likely that that's what people will want.
* bpo-39058: Preserve attribute order in argparse Namespace reprs. (GH-17621)Raymond Hettinger2020-05-183-2/+6
|
* bpo-39705 : sorted() tutorial example under looping techniques improved ↵Rahul Kumaresan2020-05-182-0/+17
| | | | (GH-18999)
* Doc: change 'Posix' for 'POSIX' (GH-20001)Mathieu Dupuy2020-05-173-6/+6
|
* Doc: move a dot outside double quotes (GH-20007)Mathieu Dupuy2020-05-171-1/+1
|
* bpo-37630: Fix spelling shake128 -> shake_128 (GH-20154)Christian Heimes2020-05-172-39/+39
|
* bpo-40645: Implement HMAC in C (GH-20129)Christian Heimes2020-05-174-89/+694
| | | | | | | | | The internal module ``_hashlib`` wraps and exposes OpenSSL's HMAC API. The new code will be used in Python 3.10 after the internal implementation details of the pure Python HMAC module are no longer part of the public API. The code is based on a patch by Petr Viktorin for RHEL and Python 3.6. Co-Authored-By: Petr Viktorin <encukou@gmail.com>