summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-39394: Improve warning message in the re module (GH-31988)Miss Islington (bot)2022-03-193-4/+11
| | | | | | | A warning about inline flags not at the start of the regular expression now contains the position of the flag. (cherry picked from commit 4142961b9f5ad3bf93976a6a7162f8049e354018) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44544: add textwrap placeholder arg (GH-27671)Miss Islington (bot)2022-03-191-2/+3
| | | | | (cherry picked from commit cb7874f49d3d55df73a3c529773af14e2e344fb7) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976)Serhiy Storchaka2022-03-184-10/+92
| | | | (cherry picked from commit cd44afc573e2e2de8d7e5a9119c347373066cd10)
* [3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). ↵Pablo Galindo Salgado2022-03-185-5/+11
| | | | | | | (GH-31974) (cherry picked from commit 8e3fde728f547f1d32bde8adf62b4c50bb877b9d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)Miss Islington (bot)2022-03-182-3/+5
| | | | | (cherry picked from commit dbbe4d2d0075fa0e95b069fb4780d79aae3514c7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)Miss Islington (bot)2022-03-184-1/+16
| | | | | (cherry picked from commit a0db11b10fca0fee6bb2b8d6277e266bad8c0fdb) Co-authored-by: Bader Zaidan <bader@zaidan.pw>
* bpo-47038: Increase a test timeout for slow CI machines (GH-31951)Miss Islington (bot)2022-03-171-1/+1
| | | | | (cherry picked from commit a7c54148322781cb0f332d440a3454d550ef6414) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-47038: Rewrite missed asyncio.wait_for test to use ↵Miss Islington (bot)2022-03-172-26/+24
| | | | | | | | | IsolatedAnsyncioTestCase (GH-31946) (#31948) (cherry picked from commit 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase ↵Miss Islington (bot)2022-03-163-313/+270
| | | | | | | | | (GH-31942) (GH-31943) (cherry picked from commit dd0082c627713634c7fd88ad33d18b5cc9f4a7b8) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* Post 3.10.3Pablo Galindo2022-03-161-1/+1
|
* Python 3.10.3v3.10.3Pablo Galindo2022-03-1695-275/+1048
|
* [3.10] bpo-47032: Ensure Windows install builds fail correctly with a ↵Steve Dower2022-03-163-24/+28
| | | | | non-zero exit code when part of the build fails (GH-31921) (GH-31926) Automerge-Triggered-By: GH:zooba
* bpo-46948: Fix launcher installer build failure due to first part of fix ↵Miss Islington (bot)2022-03-161-0/+2
| | | | | | | (GH-31920) (cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)Christian Heimes2022-03-158-15/+16
| | | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com>. Co-authored-by: Christian Heimes <christian@python.org>
* bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)Miss Islington (bot)2022-03-153-1/+10
| | | | | (cherry picked from commit 70155412f1543f100d4aa309b8691cbcabd3e0e1) Co-authored-by: Maximilian Hils <git@maximilianhils.com>
* bpo-20392: Fix inconsistency with uppercase file extensions in ↵Miss Islington (bot)2022-03-153-6/+12
| | | | | | | mimetypes.guess_type (GH-30229) (cherry picked from commit 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* But Add missing newline to NEWS entry (GH-31893)Miss Islington (bot)2022-03-151-1/+1
| | | | | (cherry picked from commit 16995ed0f2b697ca1ff966741288e787e1701ca9) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)Miss Islington (bot)2022-03-142-3/+4
| | | | | (cherry picked from commit e3d348a5252549708fd19338b675a2c23b60d677) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-31415: importtime was made by Inada Naoki (GH-31875)Miss Islington (bot)2022-03-141-1/+1
| | | | | (cherry picked from commit 29624e769c5c3c1e59c6acc8b69383ead53e8a9f) Co-authored-by: Victor Stinner <vstinner@python.org>
* Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880)Ned Deily2022-03-144-2/+1
| | | | This reverts commit 25962e4e60235645f945d23281431b30b3c3d573 as it breaks test_bdb and test_distutils with installed Pythons.
* [3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError ↵Miss Islington (bot)2022-03-141-1/+2
| | | | | | | | | | (GH-31548) (GH-31877) (cherry picked from commit 879fbd9472753149b627f32add3ddca90ac47ab7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel
* [3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection ↵Illia Volochii2022-03-141-1/+5
| | | | | | | | (GH-24525) (GH-31869) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> (cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72) Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
* [3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857)Jason R. Coombs2022-03-134-3/+44
| | | | | (cherry picked from commit b1e286860742e7ba6fadc75e3ddb6c2899a56919) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)Miss Islington (bot)2022-03-134-1/+2
| | | | | (cherry picked from commit c99ac3c364ee21be72263791b71ee8b55f64de08) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
* [3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849)Miss Islington (bot)2022-03-134-1/+2
| | | | | | | | (cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net> Automerge-Triggered-By: GH:ned-deily
* [3.10] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31806)Jelle Zijlstra2022-03-123-12/+12
| | | | | | | For consistency, replace "a SQL" with "an SQL".. (cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.10] bpo-46677: Add examples of inheritance and attributes to `TypedDict` ↵Charlie Zhao2022-03-121-3/+88
| | | | | | | | docs (GH-31349) (GH-31815) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 8a207e0321db75f3342692905e342f1d5e1add54) Co-authored-by: Charlie Zhao <68189100+CharlieZhao95@users.noreply.github.com>
* bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31830)Victor Stinner2022-03-115-8/+30
| | | | | | | | | | | | | | | 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>
* bpo-31327: Update time documentation to reflect possible errors (GH-31460)Miss Islington (bot)2022-03-111-0/+6
| | | | | | | | | | | | | | | | | | 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>
* [3.10] bpo-46581: Propagate private vars via _GenericAlias.copy_with ↵Matt Bogosian2022-03-114-7/+30
| | | | | | | | | | | | | | | | | (GH-31061) (GH-31821) (Cherry-picked from 32bf3597922ac3f613989582afa2bff43bea8a2f.) GH-26091 added the _typevar_types and _paramspec_tvars instance variables to _GenericAlias. However, they were not propagated consistently. This commit addresses the most prominent deficiency identified in bpo-46581 (namely their absence from _GenericAlias.copy_with), but there could be others. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) ↵Jelle Zijlstra2022-03-109-14/+7
| | | | | | | (GH-31796) (cherry picked from commit 6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* Remove print race from task_done example. (GH-31795)Miss Islington (bot)2022-03-101-4/+3
| | | | | (cherry picked from commit a0eb69c1a2e3aee75cb48e9868ef06a531b94a70) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.10] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31777)Jelle Zijlstra2022-03-093-9/+9
| | | | | | | 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>
* bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped ↵Miss Islington (bot)2022-03-083-14/+95
| | | | | | | from chained exceptions (GH-23688) (cherry picked from commit 88b7d86a73da9388aa65c96401c2984c8c16f8db) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)Miss Islington (bot)2022-03-082-1/+3
| | | | | | | | | 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>
* bpo-23325: Fix SIG_IGN and SIG_DFL int comparison in signal module (GH-31759)Miss Islington (bot)2022-03-082-13/+25
| | | | | (cherry picked from commit c8a47e76a391c8818bf10a282cdcd3bb5c23ebf6) Co-authored-by: Christian Heimes <christian@python.org>
* Removed confusing reference to sys (GH-31638)Miss Islington (bot)2022-03-081-3/+3
| | | | | (cherry picked from commit 28f84c72b6cee145f9c00e9b999656e9a2517e49) Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
* [3.10] docs: Don't use code formatting for emphasis (GH-30519) (GH-31764)Jelle Zijlstra2022-03-081-1/+1
| | | | | (cherry picked from commit badb637c8ce91625122d5f4d71276bfe1a8ed5e9) Co-authored-by: William Andrea <william.j.andrea@gmail.com>
* [3.10] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) ↵Erlend Egeberg Aasland2022-03-086-69/+67
| | | | | (GH-31753) (cherry picked from commit 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb)
* bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468)Miss Islington (bot)2022-03-083-1/+19
| | | | | | 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>
* Removed ambiguity in __init_subclass__ docs (GH-31540)Miss Islington (bot)2022-03-081-1/+1
| | | | | (cherry picked from commit ab014978aef303ac60465c9010505d798dc34df8) Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
* bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)Miss Islington (bot)2022-03-081-0/+4
| | | | | (cherry picked from commit 8debeed3075bf4d7e568e65da16bec63cf276f4f) Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com>
* importlib.metadata: Remove empty footnote section (GH-30451)Miss Islington (bot)2022-03-081-3/+0
| | | | | (cherry picked from commit 13331a12c3c4d5007e2ab61514ba1d76cedd8b84) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects ↵Miss Islington (bot)2022-03-081-20/+30
| | | | | | | (GH-29479) (cherry picked from commit 50731297a9b6d57eec3b3f89522785b23f7b3e71) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736)Miss Islington (bot)2022-03-073-14/+156
| | | | | (cherry picked from commit 176835c3d5c70f4c1b152cc2062b549144e37094) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 ↵Steve Dower2022-03-074-3/+5
| | | | and CVE-2019-12900 (GH-31732)
* bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly ↵Steve Dower2022-03-0711-4/+26
| | | | uses the install path during repair (GH-31727)
* [3.10] Update grammar_grapher with the new forced (&&) directive (GH-31704) ↵Luca Chiodini2022-03-071-0/+3
| | | | | | | (GH-31719) (cherry picked from commit 7f07b5ee9c2d17f837c44440bf066c73f92dac14) Co-authored-by: Luca Chiodini <luca@chiodini.org>
* [3.10] bpo-46940: Don't override existing AttributeError suggestion ↵Pablo Galindo Salgado2022-03-074-15/+48
| | | | | | | | | | | | | | | information (GH-31710) (GH-31724) When an exception is created in a nested call to PyObject_GetAttr, any external calls will override the context information of the AttributeError that we have already placed in the most internal call. This will cause the suggestions we create to nor work properly as the attribute name and object that we will be using are the incorrect ones. To avoid this, we need to check first if these attributes are already set and bail out if that's the case.. (cherry picked from commit 3b3be05a164da43f201e35b6dafbc840993a4d18) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)Miss Islington (bot)2022-03-074-7/+20
| | | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 496c428de3318c9c5770937491b71dc3d3f18a6a) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>