| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Use .addext() for all modules in order to enable Makefile control
over building them.
|
|
|
|
| |
Bug: https://bugs.gentoo.org/767886
|
| |
|
|
|
|
|
| |
The test imports numpy, bringing its warnings along with it and causing
the test to fail.
|
|
|
|
|
| |
Bug: http://bugs.python.org/issue27226
Bug: https://bugs.gentoo.org/585060
|
| |
|
|
|
|
|
|
|
| |
(GH-93414)
(cherry picked from commit 8a221a853787c18d5acaf46f5c449d28339cde21)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 5247389369ac3da35c44f7c0d8f4facc0300883a)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-93346)
For example: tuple[*Ts, list[T]][int, str, bool]
(cherry picked from commit f545fc955aeb701ae4e73b07ff2283f823d857b8)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-92335) (#92484)
* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335)
(cherry picked from commit 9d25db9db1617f012d7dba118b5b8f2b9e25e116)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Regenerate ABI file
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
compiled (GH-93359)
(cherry picked from commit 705eaec28f7bee530b1c1635ba385a49a1feaf32)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 8a5e3c2ec6254b2ce06d17545f58a6719e0c8fdb)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
| |
VOC has been archived by the BeeWare project, and they are instead
embedding CPython, rather than transpiling to Java bytecode.
(cherry picked from commit bb900712a5511ba82ef64105fe28d2a6886a8fed)
Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
|
| |
|
| |
|
|
|
|
|
|
|
| |
is always consistent (GH-93352)
(cherry picked from commit 5893b5db98b38b17750c0572c7209774a5034898)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 4f195f9db168bfe3360607eb45ba8d9ac98506ec)
Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-42272: improve message/module warning filter docs
"The Warnings Filter" section of the warnings module documentation
describes the message and module filters as "a string containing a
regular expression". While that is true when they are arguments to the
filterwarnings function, it is not true when they appear in -W or
$PYTHONWARNINGS where they are matched literally (after stripping any
starting/ending whitespace). Update the documentation to note when they
are matched literally. Also clarify that module matches the
"fully-qualified module name", rather than "module name" which is
ambiguous.
skip news (since this is a doc fix)
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* bpo-42272: remove bad submodule warning filter doc
The `error:::mymodule[.*]` example in the "Describing Warning Filters"
section of the warnings module documentation does not behave as the
comment describes. Since the module portion of the filter string is
interpreted literally, it would match a module with a fully-qualified
name that is literally `mymodule[.*]`.
Unfortunately, there is not a way to match '"module" and any subpackages
of "mymodule"' as documented, since the module part of a filter string
is matched literally. Instead, update the filter and comment to match
only "mymodule".
skip news (since this is a doc fix)
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* bpo-42272: add warning filter doc changes to NEWS
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
(cherry picked from commit 8136606769661c103c46d142e52ecbbbb88803f6)
Co-authored-by: Kevin Locke <kevin@kevinlocke.name>
|
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit 877ad7b3b2778a305d3989d58ebd68cb01baf26e)
Co-authored-by: georgically <40323509+georgically@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 7fa9b7daa5a8bb5760724ac2d94f5298c60dc905)
Co-authored-by: oda-gitso <105083118+oda-gitso@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 642d1fa81fed8ac260e1719013d77b9dfd93920f)
Co-authored-by: Baptiste Mispelon <bmispelon@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-93306)
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)
This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing:
* the configure option
* the macro
* the code enabled by the macro
Automerge-Triggered-By: GH:ericsnowcurrently
|
|
|
|
|
|
|
|
|
| |
(GH-93299) (#93305)
(cherry picked from commit e6a57678cafe18ca132ee9510252168fcc392a8d)
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Yury Selivanov <yury@edgedb.com>
|
|
|
|
|
|
|
|
| |
(GH-93302) (GH-93304)
In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type. This change restores that behavior.
(cherry picked from commit 70cfe56cafb2b549983f63d5d1a54654fe63c15c)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
|
|
|
|
|
|
| |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 711eda7dec1f62ecb2a87b274b5f6bfc2b6fbef4)
Co-authored-by: David Foster <david@dafoster.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rework of GH-5774 on current main. I was a bit more
conservative in making changes than the original PR.
See @csabella's comments on issue GH-77024 and the discussion
on GH-5774 for explanations of several of the changes.
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 8995177030c8b41885ad92b260279b7e622ecaea)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
|
| |
* Add StrongRef class.
* Rename and reformat functions of the _Py_CAST() implementation.
(cherry picked from commit 20d30ba2ccf9182e4f08db112f428c909148a40b)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
(cherry picked from commit da397194832c4b8db8446af42919d8ad47b3cb4a)
Co-authored-by: Éric <merwok@netwok.org>
|
|
|
|
|
|
| |
Log also test.support.check_sanitizer() values.
(cherry picked from commit 06dd26f89f35b6d6ef4b68c169cb6c675af7e4a4)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
(cherry picked from commit ca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
| |
The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd01b313837511d9399f18588ccd2e5dc5a9)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
|
| |
(GH-93076) (GH-93197)
`EnumType` attempts to create a custom docstring for each enum/flag, but that was failing with pathological flags that had no members (only multi-bit aliases).
(cherry picked from commit 08cfc3dabf0f81a4494cd0d697befc7d0dec77b7)
Co-authored-by: Tobin Yehle <tobinyehle@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
(cherry picked from commit 1f134e96ba994bea3aaea533d4a558df3c5cc3c0)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix __lltrace__ debug feature if the stdout encoding is not UTF-8.
If the stdout encoding is not UTF-8, the first call to
lltrace_resume_frame() indirectly sets lltrace to 0 when calling
unicode_check_encoding_errors() which calls
encodings.search_function().
(cherry picked from commit 5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
(cherry picked from commit 19710145b496b5e5341630d80be9c400aa792bd1)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
|
|
|
|
|
|
|
|
|
|
|
| |
corrupt ZIP file (GH-32291) (GH-93141)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 202ed2506c84cd98e9e35621b5b2929ceb717864)
Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
|
|
|
|
|
|
|
|
| |
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"
This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
(cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
|
|
|
| |
test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8a32699973ae1f779022794fdab9fa08ee)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
| |
Use asyncio.run().
(cherry picked from commit d2ef66a10be1250b13c32fbf3c0f9a9d2d98b124)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
The code was moved out of test.support in
311110abcd8ab648dbf1803e36a8ba5d93fa019b (GH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a351b15c3fc4fcdca5dcb9ce19e51d7d2dd7)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-93145)
Also while there, clarify a few things about why we reduce the hash to 32 bits.
Co-authored-by: Eli Libman <eli@hyro.ai>
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5)
|
|
|
|
|
| |
(cherry picked from commit f7fabae75c7b8ecd0c5673b5d62a15db24a05953)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
|
|
|
|
|
|
| |
And it raises `make suspicious` false positives.
(cherry picked from commit e739ff141680fd7e2a762cf98c4352c6c850af1f)
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
|
| |
Include member names in error message.
(cherry picked from commit a49721ea075a18a7787ace6752b4eb0954e1b607)
|
|
|
|
|
| |
(GH-93063) (GH-93151)
(cherry picked from commit 2176898308acafedf87a48d33f29645e79b9af86)
|
|
|
|
|
|
|
| |
(GH-93110)
(cherry picked from commit a458be3263b4cb92f3fde726461e8ef44b2a4a9d)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 046df59658c9f64a9f0fc909ed62e92c6c4dd668)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
|
|
|
|
|
|
|
|
| |
* fix issue 93010
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 71abeb0895f7563dc5ac4b4f077a8f87dab57e7a)
Co-authored-by: oda-gitso <105083118+oda-gitso@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 6a6f823ea7f565722148462a0372aa90085637bc)
Co-authored-by: Steve Dower <steve.dower@python.org>
|