https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2de452f Python 3.9.11, take two 16 March 2022, 13:03:13 UTC
0b0609d [3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891) (GH-30894) Add the following info to test.pythoninfo: * windows.ver: output of the shell "ver" command * windows.version and windows.version_caption: output of the "wmic os get Caption,Version /value" command. (cherry picked from commit b0898f4aa90d9397e23aef98a2d6b82445ee7455) * bpo-45382: test.pythoninfo: set wmic.exe encoding to OEM (GH-30890) (cherry picked from commit cef0a5458f254c2f8536b928dee25862ca90ffa6) (cherry picked from commit 4a57fa296b92125e41220ecd201eb2e432b79fb0) Co-authored-by: Victor Stinner <vstinner@python.org> 16 March 2022, 10:13:55 UTC
ad6ddd8 [3.9] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) (GH-31927) Automerge-Triggered-By: GH:zooba 16 March 2022, 02:11:59 UTC
70eb9db bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e) Co-authored-by: Steve Dower <steve.dower@python.org> 16 March 2022, 01:30:11 UTC
27f6386 Post 3.9.11 15 March 2022, 22:43:30 UTC
0f0c55c Python 3.9.11 15 March 2022, 20:47:24 UTC
513911b [3.9] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (#31917) Co-authored-by: Zachary Ware <zachary.ware@gmail.com>. Co-authored-by: Christian Heimes <christian@python.org>. Co-authored-by: Christian Heimes <christian@python.org> 15 March 2022, 20:34:49 UTC
32ae9ab bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229) (cherry picked from commit 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 15 March 2022, 15:50:01 UTC
64a68c3 bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892) (cherry picked from commit 70155412f1543f100d4aa309b8691cbcabd3e0e1) Co-authored-by: Maximilian Hils <git@maximilianhils.com> 15 March 2022, 15:23:47 UTC
91dfa91 But Add missing newline to NEWS entry (GH-31893) (cherry picked from commit 16995ed0f2b697ca1ff966741288e787e1701ca9) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 15 March 2022, 08:56:13 UTC
f1a5e1b bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046) (cherry picked from commit e3d348a5252549708fd19338b675a2c23b60d677) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 14 March 2022, 23:55:12 UTC
73943ce bpo-31415: importtime was made by Inada Naoki (GH-31875) (cherry picked from commit 29624e769c5c3c1e59c6acc8b69383ead53e8a9f) Co-authored-by: Victor Stinner <vstinner@python.org> 14 March 2022, 21:30:15 UTC
1b12392 Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31881) This reverts commit bda64b3c0c4e45de4c82ba1b8722f56db5ac88ba as it breaks test_bdb and test_distutils with installed Pythons. 14 March 2022, 21:10:20 UTC
b4fd91b [3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31878) (cherry picked from commit 879fbd9472753149b627f32add3ddca90ac47ab7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel 14 March 2022, 20:52:07 UTC
649cc9d [3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>. (cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72) Co-authored-by: Illia Volochii <illia.volochii@gmail.com> 14 March 2022, 13:15:49 UTC
177be52 [3.9] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31859) (cherry picked from commit b1e286860742e7ba6fadc75e3ddb6c2899a56919) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 13 March 2022, 21:30:07 UTC
bda64b3 bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) (GH-31855) (cherry picked from commit c99ac3c364ee21be72263791b71ee8b55f64de08) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net> 13 March 2022, 20:02:10 UTC
4f340b0 [3.9] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31850) (cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net> Automerge-Triggered-By: GH:ned-deily 13 March 2022, 18:55:32 UTC
b5140a5 [3.9] bpo-46677: Add examples of inheritance and attributes to `TypedDict` docs. (GH-31349) (GH-31808) * bpo-46677: Add examples of inheritance and attributes to `TypedDict` docs (GH-31349) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 8a207e0321db75f3342692905e342f1d5e1add54) 12 March 2022, 01:14:23 UTC
49ff5ed [3.9] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31807) For consistency, replace "a SQL" with "an SQL".. (cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 12 March 2022, 01:10:39 UTC
ba2b795 bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31831) In Linux kernel 5.14 one can dynamically request size of altstacksize based on hardware capabilities with getauxval(AT_MINSIGSTKSZ). This changes allows for Python extension's request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids Xeon processor to succeed, unblocking use of the ISA in frameworks. Introduced HAVE_LINUX_AUXVEC_H in configure.ac and pyconfig.h.in Used cpython_autoconf:269 docker container to generate configure. (cherry picked from commit 3b128c054885fe881c3b57a5978de3ea89c81a9c) Co-authored-by: Oleksandr Pavlyk <oleksandr.pavlyk@intel.com> 11 March 2022, 23:37:16 UTC
30d8021 bpo-31327: Update time documentation to reflect possible errors (GH-31460) As per the comments, this mirrors the [datetime documentation](https://docs.python.org/3/library/datetime.htmlGH-datetime.datetime.fromtimestamp). ``` >>> import time >>> time.localtime(999999999999999999999) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: timestamp out of range for platform time_t >>> time.localtime(-3600) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] Invalid argument ``` (cherry picked from commit c83fc9c02c9846ec3a2d0123999c98e02f00b3f5) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 11 March 2022, 19:28:19 UTC
f7f7838 [3.9] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31797) (cherry picked from commit 6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 10 March 2022, 21:18:27 UTC
0c47008 [3.9] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31778) Replace two instances of "pysqlite" with "sqlite3" in sqlite3 docstrings. Also reword "is a no-op" to "does nothing" for clarity.. (cherry picked from commit b33a1ae703338e09dc0af5fbfd8ffa01d3ff75da) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 09 March 2022, 18:19:53 UTC
f3ea249 bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped from chained exceptions (GH-23688) (GH-31776) (cherry picked from commit 88b7d86a73da9388aa65c96401c2984c8c16f8db) 08 March 2022, 23:00:45 UTC
20e88f7 bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760) This change aligns the documentation at https://docs.python.org/3/library/asyncio-eventloop.htmlGH-asyncio.Server with the actual implementation Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> (cherry picked from commit da80d6b2f3beff519cb1457d5e055168c89f7224) Co-authored-by: Stefan Zabka <zabkaste@informatik.hu-berlin.de> 08 March 2022, 21:32:46 UTC
f8c3697 Removed confusing reference to sys (GH-31638) (cherry picked from commit 28f84c72b6cee145f9c00e9b999656e9a2517e49) Co-authored-by: David Gilbertson <gilbertson.david@gmail.com> 08 March 2022, 16:08:24 UTC
653ca6c [3.9] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) (GH-31754) (cherry picked from commit 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb) 08 March 2022, 15:31:06 UTC
0663ca1 bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468) Co-authored-by: Marco Ribeiro <marcoffee@users.noreply.github.com> (cherry picked from commit 36dd7396fcd26d8bf9919d536d05d7000becbe5b) Co-authored-by: Ma Lin <animalize@users.noreply.github.com> 08 March 2022, 10:04:54 UTC
89c3601 Removed ambiguity in __init_subclass__ docs (GH-31540) (cherry picked from commit ab014978aef303ac60465c9010505d798dc34df8) Co-authored-by: David Gilbertson <gilbertson.david@gmail.com> 08 March 2022, 04:40:16 UTC
24ebaf6 docs: Don't use code formatting for emphasis (GH-30519) (cherry picked from commit badb637c8ce91625122d5f4d71276bfe1a8ed5e9) Co-authored-by: William Andrea <william.j.andrea@gmail.com> 08 March 2022, 04:35:54 UTC
0c718e0 bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260) (cherry picked from commit 8debeed3075bf4d7e568e65da16bec63cf276f4f) Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com> 08 March 2022, 04:29:09 UTC
e83f084 bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479) (cherry picked from commit 50731297a9b6d57eec3b3f89522785b23f7b3e71) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 08 March 2022, 04:15:55 UTC
f46a044 bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (cherry picked from commit 176835c3d5c70f4c1b152cc2062b549144e37094) Co-authored-by: Steve Dower <steve.dower@python.org> 07 March 2022, 22:18:24 UTC
e1639f3 bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) 07 March 2022, 20:11:25 UTC
101a1be bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31728) 07 March 2022, 17:23:31 UTC
852d9b7 [3.9] bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696) (GH-31720) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 496c428de3318c9c5770937491b71dc3d3f18a6a) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> 07 March 2022, 11:48:53 UTC
7fba55f Lib/typing.py copy edits originating from GH-31061 (GH-31684) (cherry picked from commit 2031149b9a7dfab5f5bad63f417e19f4fc2b9661) Co-authored-by: Matt Bogosian <eb3f73+github+com@yaymail.com> 05 March 2022, 03:21:51 UTC
01df048 bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631) (cherry picked from commit cedd2473a9bebe07f3ced4f341cf58a2fef07b03) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 04 March 2022, 18:34:14 UTC
6a14330 bpo-46913: Fix test_ctypes, test_hashlib, test_faulthandler on UBSan (GH-31675) (GH-31676) * bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662) Disable undefined behavior sanitizer (UBSAN) on faulthandler_sigfpe(). (cherry picked from commit 4173d677a1d7c72bb32d292fbff1b4cf073d615c) * bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672) Disable undefined behavior sanitizer (UBSan) on faulthandler._read_null(). (cherry picked from commit 65b92ccdec2ee4a99e54aaf7ae2d9bbc2ebfe549) * bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673) If Python is built with UBSan, test_hashlib skips tests on the _sha3 extension which currently has undefined behaviors. This change allows to run test_hashlib to check for new UBSan regression, but the known _sha3 undefined behavior must be fixed. (cherry picked from commit 6d0d7d2b8c1e04fd51c6cb29cc09a41b60b97b7b) * bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674) If Python is built with UBSan, test_ctypes now skips test_shorts(). This change allows to run test_ctypes to check for new UBSan regression, but the known test_shorts() undefined behavior must be fixed. (cherry picked from commit ad1b04451d3aca2c6fa6dbe2891676a4e0baac49) (cherry picked from commit 7b5b429adab4fe0fe81858fe3831f06adc2e2141) 04 March 2022, 00:31:54 UTC
0981986 bpo-6634: [doc] clarify that sys.exit() does not always exit the interpreter (GH-31639) (GH-31661) (cherry picked from commit 10117f1d8cb49ce95493555c06050faf636ccee7) Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com> Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com> 03 March 2022, 15:16:23 UTC
1d428bb bpo-46831: Update __build_class__ comment (GH-31522) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 81d968b7c30d5b41f3f28b297b7ee5345d569509) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 03 March 2022, 05:59:57 UTC
cf8aff6 bpo-21910: Clarify docs for codecs writelines method (GH-31245) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 03 March 2022, 01:45:36 UTC
359bc39 [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) (GH-31644) * Refactor sanitiser skip tests into test.support (GH-30889) * Refactor sanitizer skip tests into test.support (cherry picked from commit b1cb8430504931f7854eac5d32cba74770078a4e) * Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) (cherry picked from commit a27505345e34d462139f5f8b6b5e7c9a59955150) * bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) Skip tests on ASAN and/or MSAN builds: * multiprocessing tests * test___all__ * test_concurrent_futures * test_decimal * test_peg_generator * test_tools (cherry picked from commit 9204bb72a2da5885facc747e63d2bd2d654606fe) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> (cherry picked from commit 93264452d952d9ba604bacf2947c2df5dd477931) 02 March 2022, 17:12:26 UTC
3ea2a8f [3.9] bpo-43853: Expand test suite for SQLite UDF's (GH-27642) (GH-31030) (GH-31586) (cherry picked from commit 3eb3b4f270757f66c7fb6dcf5afa416ee1582a4b) 02 March 2022, 04:46:16 UTC
7190617 [3.9] Minor fixes to C API docs (GH-31501) (GH-31526) * C API docs: move PyErr_SetImportErrorSubclass docs It was in the section about warnings, but it makes more sense to put it with PyErr_SetImportError. * C API docs: document closeit argument to PyRun_AnyFileExFlags It was already documented for PyRun_SimpleFileExFlags. * textual fixes to unicode docs * Move paragraph about tp_dealloc into tp_dealloc section * __aiter__ returns an async iterator, not an awaitable. (cherry picked from commit 43cf44ddcce6b225f959ea2a53e4817244ca6054) 02 March 2022, 04:45:54 UTC
de2c91a bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) (cherry picked from commit dd69f734218ac5d3a551227069ac53ee09b0cd3e) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 25 February 2022, 17:07:05 UTC
a549cd1 bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31581) Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tests on the float format which were previously skipped because of the typo. The typo was introduced in Python 3.7 by bpo-20185 in commit b5c51d3dd95bbfde533655fb86ac0f96f771ba7b. (cherry picked from commit 7d03c8be5af2f1559dbc35b775b3116dfd63cfb6) 25 February 2022, 15:13:34 UTC
4560c7e bpo-46756: Fix authorization check in urllib.request (GH-31353) Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI "example.org/foobar" was allowed if the user was authorized for URI "example.org/foo". (cherry picked from commit e2e72567a1c94c548868f6ee5329363e6036057a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 February 2022, 11:56:16 UTC
b7f6e8e bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) (cherry picked from commit 53ecf9e08d35801807daf74492c090a325f995b7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 25 February 2022, 11:34:15 UTC
763e23e bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535) Fix PyFrame_GetBack() and PyFrame_GetCode() return type in the documentation. (cherry picked from commit 78859e58e4e016286e648d1dc155e0f6cebfa6ff) Co-authored-by: Victor Stinner <vstinner@python.org> 23 February 2022, 19:15:57 UTC
87cebb1 bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (cherry picked from commit 1935e1cc284942bec8006287c939e295e1a7bf13) Co-authored-by: Dong-hee Na <donghee.na@python.org> 23 February 2022, 02:50:57 UTC
f3bb8fe Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (GH-31512) (cherry picked from commit cff4d5c5d29528299ec1ac5b3b3a6f7735577c01) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 23 February 2022, 00:08:43 UTC
29e8c43 bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> (cherry picked from commit 8fb94893e4a870ed3533e80c4bc2f1ebf1cfa9e7) Co-authored-by: Thomas Grainger <tagrain@gmail.com> 22 February 2022, 21:10:04 UTC
2387aea [3.9] bpo-20923 : [doc] Explain ConfigParser 'valid section name' and .SECTCRE (GH-31413) (GH-31507) (cherry picked from commit bba8008f99d615a02984422a3825082bb5621f5a) Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel 22 February 2022, 18:43:55 UTC
aa9a5c4 bpo-36557: Updated wording for using/windows (GH-31457) (cherry picked from commit 9a0d941df4c3e1efb8b3017cd2c2de17e582fd5c) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 22 February 2022, 18:03:30 UTC
8eb18d8 [3.9] bpo-46732: fix __bool__ docstring (GH-31301) (GH-31474) (cherry picked from commit 0a222db2bca63070f429c0e613707da1bdfaf0e0) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 21 February 2022, 17:18:55 UTC
336a916 bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31469) Curly brackets were never allowed in namespace URIs according to RFC 3986, and so-called namespace-validating XML parsers have the right to reject them a invalid URIs. libexpat >=2.4.5 has become strcter in that regard due to related security issues; with ET.XML instantiating a namespace-aware parser under the hood, this test has no future in CPython. References: - https://datatracker.ietf.org/doc/html/rfc3968 - https://www.w3.org/TR/xml-names/ Also, test_minidom.py: Support Expat >=2.4.5 (cherry picked from commit 2cae93832f46b245847bdc252456ddf7742ef45e) Co-authored-by: Sebastian Pipping <sebastian@pipping.org> Co-authored-by: Sebastian Pipping <sebastian@pipping.org> 21 February 2022, 16:16:23 UTC
959846b bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384) It fixes the "Text File Busy" OSError when using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared folder (and possible other scenarios like a windows-managed network file system). (cherry picked from commit b77158b4da449ec5b8f682816a79d004fd65ed07) Co-authored-by: Lital Natan <litaln@gmail.com> 21 February 2022, 08:07:54 UTC
e7115d5 replace `self` param with more appropriate `cls` in classmethods (GH-31402) (#31445) (cherry picked from commit a3fcca4af1cb418dc802feb75100ecc1a286afaa) Co-authored-by: Josh Smith <cmyuiosu@gmail.com> Co-authored-by: Josh Smith <cmyuiosu@gmail.com> 21 February 2022, 00:10:35 UTC
83eabc6 Improve discussion about how __getattr__ is invoked. (GH-31435) (GH-31438) 20 February 2022, 13:37:00 UTC
64705e6 [3.9] Raise TypeError if SSLSocket is passed to asyncio transport-based methods (GH-31442) (GH-31444) (cherry picked from commit 1f9d4c93af380d00bf2e24bc5f5ce662d41504aa) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 20 February 2022, 12:49:27 UTC
a6116a9 [3.9] bpo-46672: fix `NameError` in `asyncio.gather` if type check fails (GH-31187) (GH-31441) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 20 February 2022, 12:39:21 UTC
cf19932 Counter doc mentions three methods, but lists four (GH-30706) Was probably caused by the addition of the `total()` method (cherry picked from commit 99331fcf175b03b6b82451ac9aa953b476ab48e0) Co-authored-by: Charles Brunet <charles.brunet@optelgroup.com> 19 February 2022, 02:49:48 UTC
9399dc4 [docs] Correct typos in SSLContext.sni_callback (GH-30623) Co-authored-by: Jörn Heissler <nosuchaddress@joern-heissler.de> (cherry picked from commit f80a97b492f41afd3c42bb2bd6da7b2828dca215) Co-authored-by: Jörn Heissler <joernheissler@users.noreply.github.com> 19 February 2022, 02:13:33 UTC
9aca412 bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) The libexpat 2.4.1 upgrade from introduced the following new exported symbols: * `testingAccountingGetCountBytesDirect` * `testingAccountingGetCountBytesIndirect` * `unsignedCharToPrintable` * `XML_SetBillionLaughsAttackProtectionActivationThreshold` * `XML_SetBillionLaughsAttackProtectionMaximumAmplification` We need to adjust [Modules/expat/pyexpatns.h](https://github.com/python/cpython/blob/master/Modules/expat/pyexpatns.h) (The newer libexpat upgrade has no new symbols). Automerge-Triggered-By: GH:gpshead (cherry picked from commit 6312c1052c0186b4596fc45c42fd3ade9f8f5911) Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com> 18 February 2022, 23:13:16 UTC
c11f41b Fix mistake in barry_as_FLUFL test (GH-31392) Use assertEqual(), not assertTrue(lineno, 2) (cherry picked from commit 5f1c205dcec0adf68b76ba78247a0ec1fa9a7b66) Co-authored-by: Patrick Reader <_@pxeger.com> 18 February 2022, 02:08:28 UTC
e782890 bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31295) 17 February 2022, 21:58:26 UTC
0da140d Update html.parser.rst (GH-30678) This PR for the documentation of the [html.parser](https://docs.python.org/3/library/html.parser.html) module will - fix a terminology mistake (‘start of a tag’ -> ‘start tag of an element’); - mention the parameter names of the `HTMLParser.handle_*` methods where missing. (cherry picked from commit 2945f5a7c51200bfc5c493ccb626fc414e1385b1) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 17 February 2022, 12:46:25 UTC
d975a40 [3.9] Become a CODEOWNER for typing (GH-31374) (GH-31381) (cherry picked from commit 6f1efd19a70839d480e4b1fcd9fecd3a8725824b) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Automerge-Triggered-By: GH:JelleZijlstra 17 February 2022, 04:06:25 UTC
29ae7d3 bpo-46333: Honor `module` parameter in ForwardRef (GH-30536) The `module` parameter carries semantic information about the forward ref. Forward refs are different if they refer to different module even if they have the same name. This affects the `__eq__`, `__repr__` and `__hash__` methods. Co-authored-by: Andreas Hangauer <andreas.hangauer@siemens.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 6e7b813195f9bd6a2a15c1f00ef2c0180f6c751a) Co-authored-by: aha79 <34090357+aha79@users.noreply.github.com> 17 February 2022, 03:53:31 UTC
a657bff bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (GH-31365) (cherry picked from commit ffd9f8ff84ed53c956b16d027f7d2926ea631051) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 16 February 2022, 11:18:16 UTC
c292118 bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327) The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8. (cherry picked from commit 1d81fdc4c004511c25f74db0e04ddbbb8a04ce6d) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 15 February 2022, 17:08:24 UTC
ad47db3 [3.9] bpo-46728: fix docstring of combinations_with_replacement for consistency (GH-31293). (GH-31356) 15 February 2022, 12:22:01 UTC
1933238 Update the OMG link (GH-30383) (cherry picked from commit 04215a427232e55efdc1adcda50a15197f518ca9) Co-authored-by: David Gilbertson <gilbertson.david@gmail.com> 14 February 2022, 22:15:08 UTC
5c303f3 doc: use colon for all color's rangs (GH-28998) (cherry picked from commit 6b9f27dd0b5da53b1fd648494879d857572bec80) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> 14 February 2022, 20:13:33 UTC
502ad39 bpo-46436: Fix command-line option -d/--directory in module http.server (GH-30701) Fix command-line option -d/--directory in http.server main function that was ignored when combined with --cgi. Automerge-Triggered-By: GH:merwok (cherry picked from commit 2d080347d74078a55c47715d232d1ab8dc8cd603) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 14 February 2022, 20:12:15 UTC
1953f03 bpo-38619: Update the documentation for UUID.hex (GH-29830) Explicitly state that it is lowercase. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> (cherry picked from commit 5d53cf30f9cb3758849e859db5d4602cb7c521f7) Co-authored-by: 180909 <wjh180909@gmail.com> 14 February 2022, 19:25:15 UTC
0bd2d58 Fix minor grammar error (GH-31325) "an" followed by consonant should be "a" (cherry picked from commit 0d29e7a06f98e8312b699d4531d27b76add1249f) Co-authored-by: Scott Noyes <snoyes@gmail.com> 14 February 2022, 19:10:38 UTC
0b1417d [3.9] Corrections to format precision description. (GH-31291) (GH-31321) * `precision` field is a decimal integer * clarify that stated limitations are on presentation type rather than input value type. Especially misleading is "precision is not allowed for integer values", since integer value input to a format like `.1f` is fine. * regarding max field size, replace "non-number" with "string", which is the only non-numeric presentation type Automerge-Triggered-By: GH:ericvsmith. (cherry picked from commit 1d6ce67c29aa2166ef326952cb605b908fb4f987) Co-authored-by: John Belmonte <john@neggie.net> 14 February 2022, 03:05:11 UTC
c31b8a9 bpo-46615: Don't crash when set operations mutate the sets (GH-31120) (GH-31312) Ensure strong references are acquired whenever using `set_next()`. Added randomized test cases for `__eq__` methods that sometimes mutate sets when called. (cherry picked from commit 4a66615ba736f84eadf9456bfd5d32a94cccf117) 13 February 2022, 10:29:42 UTC
ebe73e6 bpo-45447: Add entry to What's new 3.9 (GH-31305) (cherry picked from commit cef91ca80c41749824eca1d4b2c99731e3d5f64c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 February 2022, 06:30:36 UTC
1d4d44c bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950) Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues. Add util.py to contain objects that are used in multiple idlelib modules and have no dependencies on any of them. Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 50cf4991c49e19f917305dd7b9c71085c11edddb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 9fabcfbe68ff81ef5f17f86a93daf9cce9d83876) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 February 2022, 01:19:25 UTC
cc6d8f8 [3.9] bpo-45948: Remove constructor discrepancy in C version of ElementTree.XMLParser (GH-31152) (GH-31299) Both implementations accept target=None now. (cherry picked from commit 168fd6453b5de15236116f9261d64601d92571ac) 13 February 2022, 00:16:31 UTC
a7c1cc4 bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281) Remove pathlib classes from the list in stdtypes.rst of classes that can be parameterized at runtime. (cherry picked from commit e0bc8ee945af96f9395659bbe3cc30b082e7a361) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 11 February 2022, 21:03:45 UTC
c23f4ab Fix the signature of multiprocessing.set_executable (GH-31276) Automerge-Triggered-By: GH:merwok (cherry picked from commit 4f9386661d51b78348395e78710f3bfbee9fd1de) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 11 February 2022, 15:08:44 UTC
a65be6e [3.9] Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253). (GH-31256) (cherry picked from commit 012e77eb5c3ba3d411f5967a7f368ebdb42ab88c) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 10 February 2022, 13:32:05 UTC
b0517a1 bpo-45863: tarfile: don't zero out header fields unnecessarily (GH-29693) Numeric fields of type float, notably mtime, can't be represented exactly in the ustar header, so the pax header is used. But it is helpful to set them to the nearest int (i.e. second rather than nanosecond precision mtimes) in the ustar header as well, for the benefit of unarchivers that don't understand the pax header. Add test for tarfile.TarInfo.create_pax_header to confirm correct behaviour. (cherry picked from commit bf2d44ffb06e8f49aacc6b1c140a6717df5cf897) Co-authored-by: Joshua Root <jmr@macports.org> 09 February 2022, 17:35:56 UTC
bde3765 bpo-46685: cover `TypeError` of `ForwardRef(1)` in `test_typing` (GH-31223) (cherry picked from commit d2d1d49eaccaa83eb8873ba15f2fc9562143bc56) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 09 February 2022, 15:12:32 UTC
76b0727 bpo-46638: Makes registry virtualisation setting stable when building MSIX packages (GH-31130) (cherry picked from commit 3a5afc14e16370c1f4f72d43cb553298ad9a1fa4) 07 February 2022, 17:37:01 UTC
0d74efc bpo-46648: Rewrite test_urllib2.test_issue16464() with a local HTTP server (GH-31186) Re-enable test_issue16464() of test_urllib2, move it to urllib2_localnet and use the local HTTP server rather than an external HTTP server. (cherry picked from commit 8e98175a03fe03d62822d96007a74e5273013764) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 07 February 2022, 13:14:06 UTC
0892a0e bpo-40479: Fix undefined behavior in Modules/_hashopenssl.c (GH-31153) va_end() must be called before returning. (cherry picked from commit 59e004af63742361b67d1e1ae70229ff0db1059d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 07 February 2022, 08:08:10 UTC
1b8a34a bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) POST requests to http://www.example.com/ fail randomly. (cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1) Co-authored-by: Victor Stinner <vstinner@python.org> 06 February 2022, 14:30:18 UTC
459e26f [3.9] bpo-46609: Update asyncio-task coroutine doc (GH-31132) @coroutine in removed in 3.11, not 3.10. (cherry picked from commit 5603db43ba7ba5568b7516d0e28730a2bc1e1f26) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 February 2022, 20:46:09 UTC
6da4364 bpo-46629: Update classicAppCompat.sccd for new signing certificate (GH-31111) (cherry picked from commit 9b4e3d94a5746af093392ed8e977b26fcc1bfd11) Co-authored-by: Steve Dower <steve.dower@python.org> 04 February 2022, 16:38:09 UTC
ee3d050 Optimize images by IMGbot (GH-21348) Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> (cherry picked from commit ba650af7d660084e08859dd1ee1917cccee24e88) Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com> 04 February 2022, 07:15:17 UTC
663370a bpo-46588: fix typo in test_calltip.py (GH-31119) (cherry picked from commit 222865daabfa7a8b12ca9a5e9c23b9ce217448f1) Co-authored-by: Caio Agiani <agianicaio@gmail.com> 04 February 2022, 05:05:42 UTC
dc315f3 bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112) On Windows, one had to Tab or click on the entry box to get a cursor and be able to enter anything. (cherry picked from commit d1df81a730499cc6286d02afa6028a1e9c22bbbf) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 February 2022, 22:33:26 UTC
cf7cb1a bpo-45975: IDLE - Remove extraneous parens (GH-31107) mistakenly included in 3 files in previous PR and backported both to 3.10 and 3.9. (cherry picked from commit 916d0d822c79933f4c420f7a36f16f3eb788646b) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 February 2022, 20:44:23 UTC
e825860 [3.9] [3.10] bpo-46576: bpo-46524: Disable compiler optimization within test_peg_generator. (GH-31015) (GH-31089) (GH-31093) Disable compiler optimization within test_peg_generator. This speed up test_peg_generator by always disabling compiler optimizations by using -O0 or equivalent when the test is building its own C extensions. A build not using --with-pydebug in order to speed up test execution winds up with this test taking a very long time as it would do repeated compilation of parser C code using the same optimization flags as CPython was built with. This speeds the test up 6-8x on gps-raspbian. Also incorporate's GH-31017's win32 conditional and flags. Co-authored-by: Kumar Aditya kumaraditya303. (cherry picked from commit 164a017e13ee96bd1ea1ae79f5ac9e25fe83994e) Co-authored-by: Gregory P. Smith <greg@krypto.org> (cherry picked from commit f5ebec4d3e1199ec38b88920cfde8e460e5120dd) Co-authored-by: Gregory P. Smith <greg@krypto.org> Automerge-Triggered-By: GH:gpshead 03 February 2022, 04:32:54 UTC
back to top