Kumar Aditya
d47584aae6
gh-131336: fix thread safety for ctypes functions ( #132232 )
2025-04-09 18:18:40 +00:00
Karolina Surma
a26d58ce52
gh-130587: Invoke regen-token rst with rstfile as an argument ( #132304 )
2025-04-09 19:14:57 +01:00
Serhiy Storchaka
487cf3c170
gh-132305: Make Argument Clinic code compatible with Python 3.10 ( #132306 )
2025-04-09 19:10:02 +01:00
Chu
4a919dd6ee
Remove a duplicate word in the Makefile ( #132301 )
2025-04-09 18:47:52 +01:00
sobolevn
254110356d
gh-132285: Fix that __annotate__
is not deleted when __annotations__
is deleted ( #132286 )
2025-04-09 10:36:08 -07:00
mpage
1f5682f3a2
gh-129987: Disable GCC SLP autovectorization for the interpreter loop on x86-64 ( #132295 )
...
The SLP autovectorizer can cause poor code generation for opcode dispatch, negating any benefit we get from vectorization elsewhere in the interpreter loop.
2025-04-09 10:34:12 -07:00
h-vetinari
67ded6a4fa
update comment about LLVM bug relevant for --with-tail-call-interp
performance ( #132297 )
2025-04-09 22:50:38 +08:00
Ken Jin
bd3aa0b9f7
gh-126703: Fix possible use after free in pycfunction freelist (GH-132319)
2025-04-09 22:49:33 +08:00
Serhiy Storchaka
3feac7a093
gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568)
...
In particularly, fix regression in detecting stray % at the end of the
format string.
2025-04-09 13:26:50 +03:00
Serhiy Storchaka
7ebbd27144
gh-130631: Make join_header_words() more similar to the original Perl version (GH-130632)
...
* Always quote strings with non-ASCII characters.
* Allow some non-separator and non-control characters (like "." or "-")
be unquoted.
* Always quote strings that end with "\n".
* Use the fullmatch() method for clarity and optimization.
2025-04-09 11:08:04 +03:00
Łukasz Langa
16dcb576f7
gh-131507: Add a way to recreate the Misc/mypy
symlinks if missing ( #132274 )
...
They will be removed in source tarballs so they don't appear
in the SBOM.
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-04-09 01:01:36 +02:00
Serhiy Storchaka
f5f1ac84b3
gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303)
2025-04-08 22:08:00 +03:00
Cody Maloney
8421b648e9
gh-132246: Add PEP 688 to C Buffer Protocol docs ( #132249 )
2025-04-08 10:43:27 -07:00
Tian Gao
ab64130b57
gh-132250: Clear error in lsprof callback when method descriptor raises an excep… ( #132251 )
2025-04-08 13:36:47 -04:00
Tian Gao
efd8aca62c
gh-106670: Fix a typo in doc of pdb's exceptions command ( #132277 )
2025-04-08 12:19:16 -04:00
Nadeshiko Manju
d753d8aed7
GH-131798: Narrow the result of _CONTAINS_OP_DICT to bool in the JIT (GH-132269)
...
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
2025-04-08 09:12:09 -07:00
Tomas R.
71009cb835
GH-131798: Narrow the result type of _BINARY_OP_SUBSCR_STR_INT to str in the JIT (GH-132153)
2025-04-08 08:22:54 -07:00
Duprat
933c6653cb
gh-132063: ensure that ProcessPoolExecutor
does not swallow falsey exceptions ( #132129 )
2025-04-08 15:11:13 +00:00
Hugo van Kemenade
c5e856a5dc
Merge branch 'main' of https://github.com/python/cpython
2025-04-08 17:08:21 +03:00
Hugo van Kemenade
b6b5767e9b
Post 3.14.0a7
2025-04-08 17:06:51 +03:00
Bénédikt Tran
f5a7037c32
gh-93096: fix test_mimetypes.test_invocation_error
tests on iOS ARM64 ( #132266 )
2025-04-08 15:03:43 +02:00
Serhiy Storchaka
0e4cf9ce7c
gh-50333: Deprecate support of non-tuple sequences in PyArg_ParseTuple() (GH-128374)
...
Non-tuple sequences are deprecated as argument for the "(items)" format unit
in PyArg_ParseTuple() and other argument parsing functions if items contains
format units which store borrowed buffer or reference (e.g. "s" and "O").
str and bytearray are no longer accepted as valid sequences.
2025-04-08 14:26:32 +03:00
Hugo van Kemenade
29af6cee02
Python 3.14.0a7
v3.14.0a7
2025-04-08 14:20:51 +03:00
Serhiy Storchaka
0f04f2456a
gh-117779: Fix reading duplicated entries in zipfile by name (GH-129254)
2025-04-08 13:56:42 +03:00
Peter Bierma
ac3c439cdf
gh-131998: Fix NULL
dereference when using an unbound method descriptor in a specialized code path ( #132000 )
...
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Mark Shannon <mark@hotpy.org>
2025-04-08 10:31:43 +00:00
Bénédikt Tran
3eda146035
gh-74598: add fnmatch.filterfalse
for excluding names matching a patern ( #121185 )
2025-04-08 10:11:25 +00:00
Adam Turner
ee3657209b
gh-118761: Optimise import time for `string
` ( #132037 )
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-04-08 10:05:48 +00:00
Bénédikt Tran
53908bd790
gh-93096: fix test_mimetypes.test_guess_type_conflicting_with_mimetypes
( #131408 )
2025-04-08 09:08:59 +00:00
Irit Katriel
8c9ef8f1f8
gh-100239: more stats for BINARY_OP/SUBSCR specialization ( #132230 )
2025-04-08 08:50:51 +00:00
David Brochart
297e05932d
Fixed a typo in the documentation ( #132005 )
2025-04-08 11:43:11 +03:00
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
403886c28d
gh-132021: Add bool type to the list of allowed JSON key types ( #132048 )
...
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2025-04-08 11:25:46 +03:00
sobolevn
f7305a06c7
gh-115942: Add locked
to several multiprocessing locks ( #115944 )
...
Co-authored-by: mpage <mpage@cs.stanford.edu>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-08 11:14:12 +03:00
Emma Smith
6cd1d6c6b1
gh-84481: Make ZipFile.data_offset more robust ( #132178 )
2025-04-08 10:43:14 +03:00
Ee Durbin
40844164b1
Add psfhosted Plausible instance to analytics ( #132252 )
2025-04-08 10:37:42 +03:00
Inada Naoki
e2b35ee229
enum: remove unused function ( #132044 )
2025-04-08 09:23:48 +09:00
Stan Ulbrych
f5639d87f5
gh-130521: Add Open Graph meta tags to template pages ( #130523 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-07 21:58:50 +01:00
Gregory P. Smith
c0de650024
gh-131809: Upgrade vendored expat to 2.7.1 ( #132192 )
2025-04-07 23:42:00 +03:00
Adam Turner
f0dcb29d3a
gh-118761: Cover the import time optimisations in What's New ( #132035 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-04-07 17:27:54 +00:00
sobolevn
bc5233b6a5
gh-130775: Allow negative locations in ast
( #130795 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-07 19:35:17 +03:00
Peter Bierma
8e260b384a
gh-128182: switch ctypes
locking to critical sections ( #132133 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-04-07 22:00:31 +05:30
Kumar Aditya
ed99e28d5b
gh-132213: use relaxed atomics for set hash ( #132215 )
2025-04-07 21:59:24 +05:30
Bénédikt Tran
fd1b98dd1d
gh-130843: add UUIDv7 timestamp recipes ( #132154 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-07 17:21:56 +02:00
Hugo van Kemenade
ce724571b3
Docs HTML: Remove self-closing tags ( #132220 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-04-07 18:21:13 +03:00
Jelle Zijlstra
9a6b702f3a
dictobject.c: Fix incorrect function name in errors ( #132193 )
2025-04-07 07:48:55 -07:00
sobolevn
8b62374b34
gh-132221: Fix __match_args__
generation docs in dataclasses.rst
( #132222 )
2025-04-07 17:46:47 +03:00
Hugo van Kemenade
e80ed2cf75
gh-123299: List PEPs 758 and 768 in 3.14 release highlights ( #132211 )
2025-04-07 15:09:46 +01:00
Prometheus3375
316974382a
gh-131912: Use different grouping options for the integral and fractional parts ( #132170 )
2025-04-07 14:02:49 +02:00
sobolevn
3980718710
gh-132171: Fix _interpreters.run_string
crash on string subclass ( #132173 )
2025-04-07 14:59:44 +03:00
btwood
895d983b5c
gh-61456: Add Thai language codec aliases ( #15079 )
...
Adding aliases for Thai language support. The current code page is an implementation of the windows code page.
This will alias '874', 'ms874', and 'windows_874' to cp874, adding Thai language support for those users.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2025-04-07 13:06:32 +02:00
sobolevn
f2daa96c81
gh-132174: Fix function name in error message of _interpreters.run_string
( #132175 )
...
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-04-07 11:23:52 +03:00