aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-24Regen darwin_x86_64 for Python 3.10 am: 106922c9ca am: a9af619e12 am: 0931330651t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android-13.0.0_r83android-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r79android-13.0.0_r78android-13.0.0_r77android-13.0.0_r76android-13.0.0_r75android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r71android-13.0.0_r70android-13.0.0_r69android-13.0.0_r68android-13.0.0_r67android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r63android-13.0.0_r62android-13.0.0_r61android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android-13.0.0_r57android-13.0.0_r56android-13.0.0_r54android-13.0.0_r53android-13.0.0_r52android-13.0.0_r51android-13.0.0_r50android-13.0.0_r49android-13.0.0_r48android-13.0.0_r47android-13.0.0_r46android-13.0.0_r45android-13.0.0_r44android-13.0.0_r43android-13.0.0_r42android-13.0.0_r41android-13.0.0_r40android-13.0.0_r39android-13.0.0_r38android-13.0.0_r37android-13.0.0_r36android-13.0.0_r35android-13.0.0_r34android-13.0.0_r33android-13.0.0_r32android13-qpr3-s9-releaseandroid13-qpr3-s8-releaseandroid13-qpr3-s7-releaseandroid13-qpr3-s6-releaseandroid13-qpr3-s5-releaseandroid13-qpr3-s4-releaseandroid13-qpr3-s3-releaseandroid13-qpr3-s2-releaseandroid13-qpr3-s14-releaseandroid13-qpr3-s13-releaseandroid13-qpr3-s12-releaseandroid13-qpr3-s11-releaseandroid13-qpr3-s10-releaseandroid13-qpr3-s1-releaseandroid13-qpr3-releaseandroid13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseandroid13-qpr2-s9-releaseandroid13-qpr2-s8-releaseandroid13-qpr2-s7-releaseandroid13-qpr2-s6-releaseandroid13-qpr2-s5-releaseandroid13-qpr2-s3-releaseandroid13-qpr2-s2-releaseandroid13-qpr2-s12-releaseandroid13-qpr2-s11-releaseandroid13-qpr2-s10-releaseandroid13-qpr2-s1-releaseandroid13-qpr2-releaseandroid13-qpr2-b-s1-releaseandroid13-frc-odp-releaseandroid13-devandroid13-d4-s2-releaseandroid13-d4-s1-releaseandroid13-d4-releaseandroid13-d3-s1-releaseDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673 Change-Id: Iad9bf5e0ccbb4f090487f5a1cb967f834d10822b
2022-03-24Regen linux_x86_64 for Python 3.10 am: 3128e81257 am: 9512a1d5c4 am: e4e88a2087Dan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672 Change-Id: Idfb0c26e669bdf4240159bd91bdce2e7f5d68525
2022-03-24Android updates for Python 3.10 am: 2b32bc35db am: ee01fe41ef am: 5fb349027aDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671 Change-Id: Ifd43c8cea04b642925827654671b8e8b06c4b32f
2022-03-24Merge tag 'upstream-v3.10.3' am: 8f422d0ddf am: 3008d4443e am: 2efba4e4c6Dan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670 Change-Id: If7a111237912bc979e4d71bc5d776ef83641563f
2022-03-24Regen darwin_x86_64 for Python 3.10 am: 106922c9ca am: a9af619e12Dan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673 Change-Id: I324173007d0b74bbf85ac69722cd27af26708e08
2022-03-24Regen linux_x86_64 for Python 3.10 am: 3128e81257 am: 9512a1d5c4Dan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672 Change-Id: I14450a3095ea8f1119a97d49d8f467cfdc3f0c14
2022-03-24Android updates for Python 3.10 am: 2b32bc35db am: ee01fe41efDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671 Change-Id: Ibc713effeae812721c3bf89b922b3d929516d4cf
2022-03-24Merge tag 'upstream-v3.10.3' am: 8f422d0ddf am: 3008d4443eDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670 Change-Id: I77493a5b812be501a3c6183df87ffbd5fc2e3fe9
2022-03-24Regen darwin_x86_64 for Python 3.10 am: 106922c9caDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673 Change-Id: Ia749e4378d89a981c741087989011ae973ee3f30
2022-03-24Regen linux_x86_64 for Python 3.10 am: 3128e81257Dan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672 Change-Id: I943feef2df90e957a8a8f7c5ed8bf0e1bf819bd8
2022-03-24Android updates for Python 3.10 am: 2b32bc35dbDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671 Change-Id: I08982956e2902ca3a275992942572ae395da1496
2022-03-24Merge tag 'upstream-v3.10.3' am: 8f422d0ddfDan Willemsen
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670 Change-Id: I1125cb1ce275da2ac4dbff5685f87f8b93e15c6c
2022-03-23Regen darwin_x86_64 for Python 3.10Dan Willemsen
Change-Id: I87981fc992decc53f40d0d9e0dc1dbea03980cfe
2022-03-23Regen linux_x86_64 for Python 3.10Dan Willemsen
Change-Id: Ibf151e3139796947bc1118922329efbd9e303ca5
2022-03-23Android updates for Python 3.10Dan Willemsen
* Get clang version from soong during android/regen.sh * Update Android.bp with setup.py and Makefile.pre.in changes * Update android/Setup.local with setup.py changes * Move manual musl changes to regen.sh * 3.9 -> 3.10 where needed * Drop support for macOS <10.13 for Soong builds, and <10.14 for Kokoro builds. Studio requires 10.14, but we still provide Soong-built binaries for 10.13 buildbots (b/191879468) * Track windows vcxproj changes from https://github.com/python/cpython/commit/f3289a50503ed1a809d77fb03744bdcc7b9f1093 Change-Id: I797d69f18c32267f075b7a1d7559fc961a7395b5
2022-03-22Merge tag 'upstream-v3.10.3'Dan Willemsen
Python 3.10.3 Change-Id: I747109d18ad96cd02bab6f872a4aedf271dc8e72
2022-03-21Tweak linux_glibc properties for musl builds in external/python/cpython3 am: ↵Colin Cross
8d1b53b6c7 am: b826258b2b am: d3f1b40ad7 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394 Change-Id: I8f9691e07b58de167ebd9445d69b11b354bda454
2022-03-21Tweak linux_glibc properties for musl builds in external/python/cpython3 am: ↵Colin Cross
8d1b53b6c7 am: b826258b2b Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394 Change-Id: Idc67e5cc0c28d21d7cbb9c081e4a35acc5231a9f
2022-03-21Tweak linux_glibc properties for musl builds in external/python/cpython3 am: ↵Colin Cross
8d1b53b6c7 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394 Change-Id: Iacfacf953dceef02ad08f6531ac2b6d3ce71a0c5
2022-03-18Tweak linux_glibc properties for musl builds in external/python/cpython3Colin Cross
For convenience, builds against musl libc currently use the linux_glibc properties because they are almost always linux-specific and not glibc-specific. In preparation for removing this hack, tweak the linux_glibc properties by either moving them to host_linux, which will apply to linux_glibc, linux_musl and linux_bionic, or by setting appropriate musl or linux_musl properties. Properties that must not be repeated while musl uses linux_musl and also still uses the linux_glibc properties are moved to glibc properties, which don't apply to musl. Whether these stay as glibc properties or get moved back to linux_glibc later once the musl hack is removed is TBD. This relands If44954d3b047be6784e4782457fd0ea695f79484 with a fix to avoid duplicating sources while linux_glibc is still used for musl. Bug: 223257095 Test: m checkbuild Test: m USE_HOST_MUSL=true host-native Change-Id: I3d87979b2e841761e36c62ef51f440e060fa2780
2022-03-16Python 3.10.3upstream-v3.10.3Pablo Galindo
2022-03-15[3.10] bpo-47032: Ensure Windows install builds fail correctly with a ↵Steve Dower
non-zero exit code when part of the build fails (GH-31921) (GH-31926) Automerge-Triggered-By: GH:zooba
2022-03-15bpo-46948: Fix launcher installer build failure due to first part of fix ↵Miss Islington (bot)
(GH-31920) (cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e) Co-authored-by: Steve Dower <steve.dower@python.org>
2022-03-15Merge "Revert "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3"" am: 063970b3cb am: 012b62c548 am: a6fc77d897 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2027548 Change-Id: I934705dad41efe43197e3616e4f8d10af84185e3
2022-03-15Merge "Revert "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3"" am: 063970b3cb am: 012b62c548 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2027548 Change-Id: Iad28cb48898a47ba46c12a7ef5993d0c3430a3ca
2022-03-15Merge "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3" am: aa89b51b9c am: ebd5945cf7 am: 3d66d9b005 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2018608 Change-Id: I3a72374798c1e5a39a4b6ef78a8d40af1bcd9028
2022-03-15Merge "Revert "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3"" am: 063970b3cb Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2027548 Change-Id: I457130c5d2eee97db2a05e8bbe62a19370f38b5e
2022-03-15Merge "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3" am: aa89b51b9c am: ebd5945cf7 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2018608 Change-Id: Ia89f6c5a999d4148c051122bf5d9fddb0abc49c8
2022-03-15Merge "Revert "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3""
2022-03-15Revert "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3" This reverts commit 7020415b80a2fd3fa734f0984e9936769869aed8. Reason for revert: broke musl build with duplicate srcs Change-Id: I38bf83595c61a5324e736ee8c0cf47ce9212b930
2022-03-15Merge "Tweak linux_glibc properties for musl builds in ↵Colin Cross
external/python/cpython3" am: aa89b51b9c Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2018608 Change-Id: Id1d0949f2b63aa1004e5899d0c742844e4550746
2022-03-15Merge "Tweak linux_glibc properties for musl builds in external/python/cpython3"Colin Cross
2022-03-15[3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)Christian Heimes
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>. Co-authored-by: Christian Heimes <christian@python.org>
2022-03-15Tweak linux_glibc properties for musl builds in external/python/cpython3Colin Cross
For convenience, builds against musl libc currently use the linux_glibc properties because they are almost always linux-specific and not glibc-specific. In preparation for removing this hack, tweak the linux_glibc properties by either moving them to host_linux, which will apply to linux_glibc, linux_musl and linux_bionic, or by setting appropriate musl or linux_musl properties. Properties that must not be repeated while musl uses linux_musl and also still uses the linux_glibc properties are moved to glibc properties, which don't apply to musl. Whether these stay as glibc properties or get moved back to linux_glibc later once the musl hack is removed is TBD. Bug: 223257095 Test: m checkbuild Test: m USE_HOST_MUSL=true host-native Change-Id: If44954d3b047be6784e4782457fd0ea695f79484
2022-03-15bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)Miss Islington (bot)
(cherry picked from commit 70155412f1543f100d4aa309b8691cbcabd3e0e1) Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2022-03-15bpo-20392: Fix inconsistency with uppercase file extensions in ↵Miss Islington (bot)
mimetypes.guess_type (GH-30229) (cherry picked from commit 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-03-15But Add missing newline to NEWS entry (GH-31893)Miss Islington (bot)
(cherry picked from commit 16995ed0f2b697ca1ff966741288e787e1701ca9) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-03-14bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)Miss Islington (bot)
(cherry picked from commit e3d348a5252549708fd19338b675a2c23b60d677) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2022-03-14bpo-31415: importtime was made by Inada Naoki (GH-31875)Miss Islington (bot)
(cherry picked from commit 29624e769c5c3c1e59c6acc8b69383ead53e8a9f) Co-authored-by: Victor Stinner <vstinner@python.org>
2022-03-14Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880)Ned Deily
This reverts commit 25962e4e60235645f945d23281431b30b3c3d573 as it breaks test_bdb and test_distutils with installed Pythons.
2022-03-14[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError ↵Miss Islington (bot)
(GH-31548) (GH-31877) (cherry picked from commit 879fbd9472753149b627f32add3ddca90ac47ab7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel
2022-03-14[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection ↵Illia Volochii
(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>
2022-03-13[3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857)Jason R. Coombs
(cherry picked from commit b1e286860742e7ba6fadc75e3ddb6c2899a56919) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2022-03-13bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)Miss Islington (bot)
(cherry picked from commit c99ac3c364ee21be72263791b71ee8b55f64de08) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
2022-03-13[3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849)Miss Islington (bot)
(cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942) Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net> Automerge-Triggered-By: GH:ned-deily
2022-03-11[3.10] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31806)Jelle Zijlstra
For consistency, replace "a SQL" with "an SQL".. (cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-03-11[3.10] bpo-46677: Add examples of inheritance and attributes to `TypedDict` ↵Charlie Zhao
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>
2022-03-12bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31830)Victor Stinner
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>
2022-03-11bpo-31327: Update time documentation to reflect possible errors (GH-31460)Miss Islington (bot)
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>
2022-03-11[3.10] bpo-46581: Propagate private vars via _GenericAlias.copy_with ↵Matt Bogosian
(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>