Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
d23ee5d Improve IO tutorial's "Old string formatting" section (GH-16251) * Use a more universal explanation of string interpolation rather than specifically referencing sprintf(), which depends on the reader having a C background. Co-authored-by: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit eaca2aa117d663acf8160a0b4543ee2c7006fcc7) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 28 May 2020, 01:41:38 UTC
de6b684 bpo-39939: Fix removeprefix issue number in the What's New in Python 3.9 (GH-20473) (GH-20474) (cherry picked from commit 56853d8ec6ed89bf5a9b81c3781a4df46ac391d3) Co-authored-by: Elazar Gershuni <elazarg@gmail.com> Co-authored-by: Elazar Gershuni <elazarg@gmail.com> 28 May 2020, 01:24:33 UTC
9e3c583 bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) If ctypes fails to convert the result of a callback or if a ctypes callback function raises an exception, sys.unraisablehook is now called with an exception set. Previously, the error was logged into stderr by PyErr_Print(). (cherry picked from commit 10228bad0452d94e66c964b625a0b61befa08e59) Co-authored-by: Victor Stinner <vstinner@python.org> 27 May 2020, 23:00:01 UTC
be240b8 Fix compiler warnings in _zoneinfo.c (GH-20342) ``` D:\a\cpython\cpython\Modules\_zoneinfo.c(903,52): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] D:\a\cpython\cpython\Modules\_zoneinfo.c(904,44): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] D:\a\cpython\cpython\Modules\_zoneinfo.c(1772,31): warning C4244: '=': conversion from 'ssize_t' to 'uint8_t', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] ``` (cherry picked from commit e4799b95945b44eb0e2eea26473db8e0a49ed0ee) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 27 May 2020, 21:08:20 UTC
9b83829 [3.9] bpo-40614: Respect feature version for f-string debug expressions (GH-20196) (GH-20464) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit c116c94) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> 27 May 2020, 21:01:11 UTC
3a2667d bpo-30064: Fix asyncio loop.sock_* race condition issue (GH-20369) (cherry picked from commit 210a137396979d747c2602eeef46c34fc4955448) Co-authored-by: Fantix King <fantix.king@gmail.com> 27 May 2020, 20:39:03 UTC
c011d1b [3.9] Backport GH-20440: Set p->error_indicator in more places (GH-20457) 27 May 2020, 20:20:43 UTC
1bfe659 [3.9] Backport GH-20370 and GH-20436: Soft keywords (GH-20458) 27 May 2020, 20:20:07 UTC
788d7bf bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914) ctypes now raises an ArgumentError when a callback is invoked with more than 1024 arguments. The ctypes module allocates arguments on the stack in ctypes_callproc() using alloca(), which is problematic when large numbers of arguments are passed. Instead of a stack overflow, this commit raises an ArgumentError if more than 1024 parameters are passed. (cherry picked from commit 29a1384c040d39659e7d01f1fd7b6eb71ef2634e) Co-authored-by: Sean Gillespie <sean@swgillespie.me> 27 May 2020, 15:46:57 UTC
43fccb1 Fix the link to ncurses patch download in macos installer build script (GH-20421) Reason: the link `ftp://invisible-island.net/ncurses//5.9/ncurses-5.9-20120616-patch.sh.bz2` is dead, which prevents `Mac/BuildScript/build-installer.py` from completing. Looks like the host of the FTP server was changed to `ftp.invisible-island.net`, thus this proposal. Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> (cherry picked from commit 7da46b676aed7111de34b57c8b942a7f3bb80327) Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com> 27 May 2020, 10:32:25 UTC
1c88bf8 bpo-39244: multiprocessing return default start method first on macOS (GH-18625) (cherry picked from commit db098bc1f05bd0773943e59f83489f05f28dedf8) Co-authored-by: idomic <michael.ido@gmail.com> 26 May 2020, 15:13:33 UTC
500cd89 bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) (cherry picked from commit 372ee27d4958302dac7ad6a8711f6fd04771b2e6) Co-authored-by: Jakub Stasiak <jakub@stasiak.at> 26 May 2020, 13:38:18 UTC
7df9c41 bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323) (cherry picked from commit 5eb45d7d4e812e89d77da84cc619e9db81561a34) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 26 May 2020, 12:38:51 UTC
66391b0 bpo-40637: Fix test_pbkdf2_hmac_py for missing sha1 (GH-20422) (cherry picked from commit be63019ed726b2da045bf232782062830bb6c27d) Co-authored-by: Christian Heimes <christian@python.org> 26 May 2020, 10:46:24 UTC
cc0f50d bpo-39301: State that floor division is used for right shift operations (GH-20347) (GH-20414) * bpo-39301: State that floor division is used for right shift operations * Remove "without overflow check" (cherry picked from commit af7553ac95a96713be847dd45bc5a8aeb0a75955) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com> 26 May 2020, 08:33:10 UTC
5221a10 bpo-35714: Reject null characters in struct format strings (GH-16928) struct.error is now raised if there is a null character in a struct format string. (cherry picked from commit 3f59b55316f4c6ab451997902579aa69020b537c) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 26 May 2020, 07:04:59 UTC
a729f4a Simplify creation of the __new__ method in namedtuple() (GH-20361) (GH-20409) 26 May 2020, 05:00:31 UTC
fda4765 Fix peg_generator compiler warnings under MSVC (GH-20405) (cherry picked from commit a2bbedc8b18c001d2f9e702e6e678efbb2990daa) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 26 May 2020, 04:52:21 UTC
6597e2a bpo-40745: Fix typos in NewType docs (GH-20379) (cherry picked from commit 2b0e654f91f28379c6c7ef5fd80e8754afb70935) Co-authored-by: ziheng <zihenglv@gmail.com> 26 May 2020, 04:52:14 UTC
b03e0ee [3.9] closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) (#20407) (cherry picked from commit 4a0ac42) Co-authored-by: sth <sth.dev@tejp.de> 26 May 2020, 04:19:42 UTC
791a46e [3.9] bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399) (GH-20404) When a `SyntaxError` in the expression part of a fstring is found, the filename attribute of the `SyntaxError` is always `<fstring>`. With this commit, it gets changed to always have the name of the file the fstring resides in. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>. (cherry picked from commit f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0) 26 May 2020, 01:24:31 UTC
6cb0ad2 bpo-40246: Fix test_fstring when run with the old parser (GH-20402) 26 May 2020, 00:10:00 UTC
3c6c86a bpo-40688: Use the correct parser in the peg_generator scripts (GH-20235) The scripts in `Tools/peg_generator/scripts` mostly assume that `ast.parse` and `compile` use the old parser, since this was the state of things, while we were developing them. They need to be updated to always use the correct parser. `_peg_parser` is being extended to support both parsing and compiling with both parsers. (cherry picked from commit 9645930b5bc1833ef495891d22052d1ba65ab7ea) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 25 May 2020, 20:11:36 UTC
318a18e bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611) Co-authored-by: Sadhana Srinivasan <rotuna@Sadhanas-MBP.fritz.box> (cherry picked from commit 448325369ff73011d34d6c3a493014fe3ead8843) Co-authored-by: Rotuna <sadhanasrinivasan@protonmail.com> 25 May 2020, 20:01:20 UTC
31084be bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393) (cherry picked from commit deb4355a37e41edf1199920789fe9572c1fb43c2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 25 May 2020, 19:37:56 UTC
82da2c3 bpo-40750: Support -d flag in the new parser (GH-20340) (cherry picked from commit 800a35c623bbcdb5793c7d7a4974524286311479) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 25 May 2020, 17:58:03 UTC
9a5e643 bpo-39245: Fix docs links to the stable ABI (GH-20388) Automerge-Triggered-By: @vstinner (cherry picked from commit e50883ccc4bfa198c3d5e3367306324fc49730cb) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 25 May 2020, 15:49:35 UTC
20b2bf3 bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) (cherry picked from commit ef16958d17e83723334a51428f410f726d6492a7) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 25 May 2020, 15:13:49 UTC
1fe1a14 bpo-40671: Prepare _hashlib for PEP 489 (GH-20180) (cherry picked from commit 20c22db602bf2a51f5231433b9054290f8069b90) Co-authored-by: Christian Heimes <christian@python.org> 25 May 2020, 12:18:49 UTC
7015823 bpo-40695: Limit hashlib builtin hash fallback (GH-20259) :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> (cherry picked from commit 4cc2f9348c6e899b76af811fa3bb6c60de642a28) Co-authored-by: Christian Heimes <christian@python.org> 25 May 2020, 09:07:35 UTC
82c274e bpo-40334: Support suppressing of multiple optional variables in Pegen (GH-20367) (cherry picked from commit cba503151056b448b7a3730dc36ef6655550ade5) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> 24 May 2020, 22:38:47 UTC
1a4e9e6 bpo-36290: Fix keytword collision handling in AST node constructors (GH-12382) (cherry picked from commit c73914a562580ae72048876cb42ed8e76e2c83f9) Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr> 24 May 2020, 21:32:32 UTC
46c1b9c bpo-17050: Remove documentation on argparse.REMAINDER (GH-18661) (GH-20363) 24 May 2020, 21:31:17 UTC
4bb4cde bpo-40443: Remove unused imports in the zoneinfo (GH-20354) (cherry picked from commit 3436f5f899f272d7164add072beb18eebd46d777) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 24 May 2020, 14:58:25 UTC
ebf6505 bpo-40705: Fix use-after-free in _zoneinfo's module_free (GH-20280) (cherry picked from commit 06a1b8915d6674e40f0dccc422ca2c06212392d8) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 24 May 2020, 14:43:02 UTC
21a9af1 bpo-37309: Update IDLE NEWS.txt (GH-20356) (cherry picked from commit 16ef3241939a3a64a447e5d7aabaf2e29deca621) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 24 May 2020, 14:16:09 UTC
874506c bpo-40723: Make IDLE autocomplete test run without __main__.__file__ (GH-20311) This was the only failure running unittest.main(test.test_idle) after imports. (cherry picked from commit 905b3cd05f8d2c29e1605d109900e3e9d07af4d3) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de> 24 May 2020, 11:14:17 UTC
a3c3e89 Remove spurious NULL in descrobject.c (GH-20344) Co-authored-by: hai shi <shihai1991@126.com> (cherry picked from commit 3f5f61409ebf95fa606bcbb15dfaaadad6084dc6) Co-authored-by: Hai Shi <shihai1992@gmail.com> 24 May 2020, 05:24:56 UTC
11fb605 Use Py_ssize_t for the column number in the PEG support code (GH-20341) (cherry picked from commit b23d7adfdfa66dd8e6f98e968b1ba885692b67d6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 24 May 2020, 05:20:44 UTC
9181e2e bpo-40405: Fix asyncio.as_completed docs (GH-19753) * 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> (cherry picked from commit 13206b52d16c2489f4c7dd2dce2a7f48a554b5ed) Co-authored-by: Bar Harel <bzvi7919@gmail.com> 23 May 2020, 23:23:53 UTC
962c814 bpo-40439: Update broken link in lexical analysis docs (GH-20184) Automerge-Triggered-By: @csabella (cherry picked from commit af23f0d3cf19343512e6ca1fe1d46a5dbe425719) Co-authored-by: Matteo Bertucci <matteobertucci2004@gmail.com> 23 May 2020, 01:19:13 UTC
c1d7768 Reword aware/naive introduction sentence (GH-20175) This is more informative and avoids the question of whether the period should go inside or outside the quotation marks. See also GH-20007. (cherry picked from commit 2e76820a50b8ce2a9a5f6cdef6cef1859a89c460) Co-authored-by: Mathieu Dupuy <mathieu.dupuy@doctolib.com> 22 May 2020, 22:30:47 UTC
1e5cf94 [3.9] bpo-39631: Adds NEWS entry (GH-20227) (GH-20241) (cherry picked from commit 92327a9913150f5bb55b2727a2c5d50f9b7b6e55) Co-authored-by: Steve Dower <steve.dower@python.org> 22 May 2020, 22:29:13 UTC
7f77ac4 bpo-40696: Fix a hang that can arise after gen.throw() (GH-20287) 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. (cherry picked from commit 7c30d12bd5359b0f66c4fbc98aa055398bcc8a7e) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> 22 May 2020, 21:35:22 UTC
a08b7c3 bpo-9216: hashlib usedforsecurity fixes (GH-20258) 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 (cherry picked from commit 909b5714e1303357868bc5e281c1cf508d5d5a17) Co-authored-by: Christian Heimes <christian@python.org> 22 May 2020, 18:22:30 UTC
983b17c bpo-40730: Remove redundant 'to' (GH-20316) (GH-20318) @ericvsmith I guess it is correct to merge it into master and not 3.9 directly? Automerge-Triggered-By: @ericvsmith (cherry picked from commit 30d5a7364db9e65ccabbdce2c20b84fe2fb233fb) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de> Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de> 22 May 2020, 15:26:54 UTC
51025e0 Fix the URL to fishshell.com (GH-20251) (cherry picked from commit da7d1f04086598a29f77bd452beefe847d038344) Co-authored-by: Jonathan Goble <jcgoble3@gmail.com> 22 May 2020, 14:32:21 UTC
5c01ed6 bpo-40725: Restore missing column of digits (GH-20313) (GH-20315) 22 May 2020, 14:18:01 UTC
427c696 Fix debug output in PEG parser generator (GH-20308) (cherry picked from commit b831129123dbb4bfba49824ae893448b05398f27) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 22 May 2020, 02:05:20 UTC
55c8923 bpo-40334: Produce better error messages for non-parenthesized genexps (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. (cherry picked from commit ae145833025b0156ee2a28219e3370f3b27b2a36) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 22 May 2020, 01:14:55 UTC
b4d08f1 [doc] Remove references to obsolete BuildApplet on macOS. (GH-20023) (GH-20304) (cherry picked from commit 7864f11cdf12807555d62c7a132c191eb41ecc02) Co-authored-by: Andre Delfino <adelfino@gmail.com> 21 May 2020, 23:01:41 UTC
d00aaf3 bpo-40715: Reject dict unpacking on dict comprehensions (GH-20292) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit b8a65ec1d3d4660d0ee38a9765d98f5cdcabdef5) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> 21 May 2020, 22:58:16 UTC
7178b1b [3.9] Fix typing problems reported by mypy in pegen (GH-20297) (GH-20300) (cherry picked from commit d10fef35c6ce8a3193b974be7e8c8304b1146153) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 21 May 2020, 21:09:43 UTC
275d7e1 [3.9] bpo-40176: Improve error messages for trailing comma on from import (GH-20294) (GH-20302) (cherry picked from commit 72e0aa2) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> 21 May 2020, 21:04:54 UTC
c817a1c [3.9] bpo-40714: Remove compile warning from _zoneinfo.c (GH-20291) (GH-20293) (cherry picked from commit a487a39dca4c41305928c7dfdbcb0b3aa344683b) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Automerge-Triggered-By: @corona10 21 May 2020, 17:15:53 UTC
3e65054 bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) 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/20143GH-discussion_r427808225) in GH-20143 for context. Automerge-Triggered-By: @aeros (cherry picked from commit 0f56263e62ba91d0baae40fb98947a3a98034a73) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 21 May 2020, 05:38:00 UTC
6387358 Update whatsnew benchmark results for 3.9 (GH-20276) (GH-20277) 21 May 2020, 02:11:28 UTC
4a1dba7 s/wakup/wakeup (GH-20250) (as title) Automerge-Triggered-By: @Mariatta (cherry picked from commit f2947e354c95d246b1836ac78d4c820c420e259b) Co-authored-by: Kunal Bhalla <bhalla.kunal@gmail.com> 20 May 2020, 17:58:47 UTC
412ed13 Use v2 of GitHub Actions where available (GH-20232) Automerge-Triggered-By: @Mariatta (cherry picked from commit 7fbe65dbc42985d002d9538fe9a9887e6e6af66c) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 20 May 2020, 16:59:25 UTC
f541a37 bpo-40698: Improve distutils upload hash digests (GH-20260) - 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> 20 May 2020, 14:57:08 UTC
e7bf868 bpo-34956: edit and format better NEWS item in 3.9.0b1 changelog (GH-20255) (cherry picked from commit bac170cd93bbae939fcb29ccc6b5d423f7f4a089) Co-authored-by: Ned Deily <nad@python.org> 20 May 2020, 09:47:07 UTC
12fa658 bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248) 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> 20 May 2020, 02:37:17 UTC
6ed3743 bpo-40645: restrict HMAC key len to INT_MAX (GH-20238) 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> 19 May 2020, 22:52:54 UTC
059279d bpo-38870: invalid escape sequence (GH-20240) `/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> 19 May 2020, 22:33:45 UTC
9512ad7 [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (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. 19 May 2020, 22:27:46 UTC
b008445 Enable GitHub Actions for 3.9 branch (GH-20231) (cherry picked from commit c105f7d8955ef9bf51125f6e44e8543e5f0618df) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 19 May 2020, 17:24:52 UTC
b5bd435 bpo-40683: Add zoneinfo to LIBSUBDIRS (GH-20229) 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> 19 May 2020, 16:13:15 UTC
20736b3 Fix code-block in zoneinfo (GH-20201) ``` 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> 19 May 2020, 14:02:32 UTC
76d9a9c bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) 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> 19 May 2020, 12:40:21 UTC
c06983b bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) 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> 19 May 2020, 12:39:16 UTC
73812a4 [3.9] Doc: Python 3.10 in sidebar and version switcher. (GH-20209) (GH-20221) (cherry picked from commit 19e3e0026417caa92ffe21a67157363b45da9aa2) Co-authored-by: Julien Palard <julien@palard.fr> 19 May 2020, 12:31:57 UTC
e299130 bpo-32309: Implement asyncio.to_thread() (GH-20143) 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> 19 May 2020, 10:03:25 UTC
3d06282 bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194) (cherry picked from commit 3764069f3ba2a7e932837ae19265059339dc86e3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 19 May 2020, 02:31:28 UTC
f02c304 Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) (#20202) _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> 19 May 2020, 02:14:13 UTC
1bf7578 Update README links to point to 3.9 and not master 19 May 2020, 00:31:31 UTC
5e6f198 Post 3.9.0b1 19 May 2020, 00:12:30 UTC
97fe9cf Python 3.9.0b1 18 May 2020, 23:07:09 UTC
a3ec3ad bpo-40275: More lazy imports in test.support (GH-20131) 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()". 18 May 2020, 22:02:57 UTC
ced4e5c Regenerate the parser (#20195) 18 May 2020, 21:47:51 UTC
c102a14 bpo-38870: Don't omit parenthesis when unparsing a slice in ast.unparse 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). 18 May 2020, 20:48:49 UTC
75b863a bpo-40334: Reproduce error message for type comments on bare '*' in the new parser (GH-20151) 18 May 2020, 19:14:47 UTC
d71a649 bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166) 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> 18 May 2020, 18:41:35 UTC
dc31800 bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183) 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 18 May 2020, 18:27:40 UTC
2135e10 bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156) 18 May 2020, 18:23:48 UTC
e6578a2 bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete location information (GH-20157) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 18 May 2020, 18:14:12 UTC
63b8e0c bpo-40528: Improve AST generation script to do builds simultaneously (GH-19968) - 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. 18 May 2020, 17:42:10 UTC
7b7a21b bpo-40661: Fix segfault when parsing invalid input (GH-20165) 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> 18 May 2020, 17:32:03 UTC
08b47c3 bpo-40257: Revert changes to inspect.getdoc() (GH-20073) 18 May 2020, 17:25:07 UTC
98e42d1 bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) 18 May 2020, 16:50:03 UTC
f660567 bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137) 18 May 2020, 16:22:53 UTC
7f21c9a bpo-40653: Move _dirnameW out of #ifdef HAVE_SYMLINK/#endif (GH-20144) 18 May 2020, 16:17:19 UTC
951ab58 Revert "bpo-26317: Support OBJC and OBJCXX configure command line variables (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. 18 May 2020, 15:31:21 UTC
adc72bb bpo-38112: Document that compileall.compile_[dir,file] also accept multiple opt levels (GH-20174) 18 May 2020, 13:23:37 UTC
0da5466 bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176) 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> 18 May 2020, 13:17:22 UTC
c444108 bpo-40548: Github Actions: update actions/checkout to v2 (GH-20164) Signed-off-by: Filipe Laíns <lains@archlinux.org> 18 May 2020, 12:52:45 UTC
1731d6d bpo-34956: Fix macOS _tkinter use of Tcl/Tk in /Library/Frameworks (GH-20171) _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. 18 May 2020, 08:32:38 UTC
58205a0 bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170) 18 May 2020, 07:56:47 UTC
442634c bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121) 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 18 May 2020, 06:21:30 UTC
da742ba bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951) 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." 18 May 2020, 05:47:31 UTC
d17f3d8 bpo-13601: Mention stderr's line buffering in What's New (GH-20168) 18 May 2020, 05:07:57 UTC
back to top