Age | Commit message (Collapse) | Author |
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673
Change-Id: Iad9bf5e0ccbb4f090487f5a1cb967f834d10822b
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672
Change-Id: Idfb0c26e669bdf4240159bd91bdce2e7f5d68525
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671
Change-Id: Ifd43c8cea04b642925827654671b8e8b06c4b32f
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670
Change-Id: If7a111237912bc979e4d71bc5d776ef83641563f
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673
Change-Id: I324173007d0b74bbf85ac69722cd27af26708e08
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672
Change-Id: I14450a3095ea8f1119a97d49d8f467cfdc3f0c14
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671
Change-Id: Ibc713effeae812721c3bf89b922b3d929516d4cf
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670
Change-Id: I77493a5b812be501a3c6183df87ffbd5fc2e3fe9
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673
Change-Id: Ia749e4378d89a981c741087989011ae973ee3f30
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037672
Change-Id: I943feef2df90e957a8a8f7c5ed8bf0e1bf819bd8
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037671
Change-Id: I08982956e2902ca3a275992942572ae395da1496
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037670
Change-Id: I1125cb1ce275da2ac4dbff5685f87f8b93e15c6c
|
|
Change-Id: I87981fc992decc53f40d0d9e0dc1dbea03980cfe
|
|
Change-Id: Ibf151e3139796947bc1118922329efbd9e303ca5
|
|
* 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
|
|
Python 3.10.3
Change-Id: I747109d18ad96cd02bab6f872a4aedf271dc8e72
|
|
8d1b53b6c7 am: b826258b2b am: d3f1b40ad7
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394
Change-Id: I8f9691e07b58de167ebd9445d69b11b354bda454
|
|
8d1b53b6c7 am: b826258b2b
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394
Change-Id: Idc67e5cc0c28d21d7cbb9c081e4a35acc5231a9f
|
|
8d1b53b6c7
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2032394
Change-Id: Iacfacf953dceef02ad08f6531ac2b6d3ce71a0c5
|
|
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
|
|
|
|
non-zero exit code when part of the build fails (GH-31921) (GH-31926)
Automerge-Triggered-By: GH:zooba
|
|
(GH-31920)
(cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
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
|
|
external/python/cpython3"" am: 063970b3cb am: 012b62c548
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2027548
Change-Id: Iad28cb48898a47ba46c12a7ef5993d0c3430a3ca
|
|
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
|
|
external/python/cpython3"" am: 063970b3cb
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2027548
Change-Id: I457130c5d2eee97db2a05e8bbe62a19370f38b5e
|
|
external/python/cpython3" am: aa89b51b9c am: ebd5945cf7
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2018608
Change-Id: Ia89f6c5a999d4148c051122bf5d9fddb0abc49c8
|
|
external/python/cpython3""
|
|
external/python/cpython3"
This reverts commit 7020415b80a2fd3fa734f0984e9936769869aed8.
Reason for revert: broke musl build with duplicate srcs
Change-Id: I38bf83595c61a5324e736ee8c0cf47ce9212b930
|
|
external/python/cpython3" am: aa89b51b9c
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2018608
Change-Id: Id1d0949f2b63aa1004e5899d0c742844e4550746
|
|
|
|
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>.
Co-authored-by: Christian Heimes <christian@python.org>
|
|
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
|
|
(cherry picked from commit 70155412f1543f100d4aa309b8691cbcabd3e0e1)
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
|
|
mimetypes.guess_type (GH-30229)
(cherry picked from commit 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
(cherry picked from commit 16995ed0f2b697ca1ff966741288e787e1701ca9)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
(cherry picked from commit e3d348a5252549708fd19338b675a2c23b60d677)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
(cherry picked from commit 29624e769c5c3c1e59c6acc8b69383ead53e8a9f)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
This reverts commit 25962e4e60235645f945d23281431b30b3c3d573
as it breaks test_bdb and test_distutils with installed Pythons.
|
|
(GH-31548) (GH-31877)
(cherry picked from commit 879fbd9472753149b627f32add3ddca90ac47ab7)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:iritkatriel
|
|
(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>
|
|
(cherry picked from commit b1e286860742e7ba6fadc75e3ddb6c2899a56919)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
|
(cherry picked from commit c99ac3c364ee21be72263791b71ee8b55f64de08)
Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
|
|
(cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942)
Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
Automerge-Triggered-By: GH:ned-deily
|
|
For consistency, replace "a SQL" with "an SQL"..
(cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
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>
|
|
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>
|
|
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>
|
|
(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>
|