Adam Turner
1a548c0a50
gh-132983: Reduce the size of `_zstdmodule.h
` ( #133793 )
2025-05-10 22:25:22 +01:00
Tian Gao
4f2f780d53
Add classmethod to setUpClass in test_pdb ( #133840 )
2025-05-10 14:10:58 -04:00
Kumar Aditya
70f9b3de36
gh-100926: fix thread safety of ctypes
__pointer_type__
( #133843 )
2025-05-10 17:38:06 +00:00
Waylan Limberg
53383e90e4
gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658)
...
When calling .close() the HTMLParser should flush all remaining content,
even when that content is in an unclosed script or style tag.
2025-05-10 17:36:06 +00:00
Jelle Zijlstra
7dddb4e667
gh-133783: Fix __replace__ on AST nodes for optional attributes ( #133797 )
2025-05-10 09:17:38 -07:00
Ayappan Perumal
47f1722d80
gh-117088: Fix AIX build (GH-132595)
2025-05-10 18:35:59 +03:00
Kentaro Jay Takahashi
efcc42ba70
gh-132642: document how to render human-readable timedelta
objects ( #133825 )
2025-05-10 17:33:28 +02:00
Ezio Melotti
76c0b01bc4
gh-77057: Fix handling of invalid markup declarations in HTMLParser (GH-9295)
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-05-10 17:31:43 +03:00
Tim Golden
e7741dd773
Tiny doc fix to double up backslashes in a Windows filesystem path ( #133828 )
2025-05-10 13:45:46 +00:00
Stan Ulbrych
dbca27cfca
gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382)
...
The right term is "parameters".
2025-05-10 15:00:43 +03:00
Donghee Na
f28cbc9fd3
gh-115999: Note Python 3.14 free-threaded changes in What's New (gh-131285)
...
---------
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: mpage <mpage@cs.stanford.edu>
2025-05-10 19:30:16 +09:00
Stan Ulbrych
30b1d8f11d
gh-133447: Add basic color to sqlite3
CLI ( #133461 )
2025-05-10 07:59:01 +00:00
Bénédikt Tran
116a9f9b37
gh-133009: fix UAF in xml.etree.ElementTree.Element.__deepcopy__
( #133010 )
2025-05-10 09:32:39 +02:00
Kokona
d13d5fdf61
gh-132971: Update shutil.which() docs (GH-133067)
2025-05-10 10:06:19 +03:00
Nybblista
832058274d
gh-133713: Compare the f->stackpointer
to the result of _PyFrame_Stackbase(f)
(GH-133714)
2025-05-10 11:04:32 +08:00
Rogdham
50b5370664
gh-132983: Don't allow trailer data in ZstdFile ( #133736 )
2025-05-10 03:32:22 +01:00
Tan Long
c896dae029
Fix a typo in Misc/NEWS.d/3.140a1.rst ( #133790 )
2025-05-10 03:31:24 +01:00
Jelle Zijlstra
cb6596c6aa
gh-132493: Remove __annotations__ usage in inspect._signature_is_functionlike ( #133415 )
...
This check is potentially problematic because it could force evaluation of
annotations unnecessarily. This doesn't trigger for builtin objects (functions,
classes, or modules) with annotations, but it could trigger for third-party objects.
The check was not particularly useful anyway, because it succeeds if ``__annotations__``
is a dict or None, so the only thing this did was guard against objects that have an
``__annotations__`` attribute that is of some other type. That doesn't seem particularly
useful, so I just removed the check.
2025-05-09 18:42:53 -07:00
Adam Turner
1978904a2f
GH-132983: PEP 7 and Argument Clinic changes for zstd ( #133791 )
2025-05-10 00:33:45 +00:00
Adam Turner
98e2c3af47
GH-132983: remove empty_bytes from _zstd module state ( #133785 )
2025-05-09 20:17:12 +00:00
Adam Turner
bbe9c31edc
gh-132983: Simplify `_zstd_exec()
` ( #133775 )
2025-05-09 20:15:19 +01:00
Stan Ulbrych
aed28eb5a0
Update HTTP links in the _pydatetime docstrings (GH-133025)
2025-05-09 21:38:37 +03:00
Stan Ulbrych
74f897e25e
Remove unused code from _pydatetime.py (GH-133768)
...
It should have been removed in PR #7549 (bcb032e4ac
).
2025-05-09 21:32:25 +03:00
AN Long
4274b47156
gh-133519: Add console to resources in libregrtest ( #133520 )
...
Add console to resources in libregrtest
2025-05-09 18:30:13 +02:00
Victor Stinner
67086282fc
gh-133741: Fix _can_strace(): check --trace option ( #133766 )
...
The --trace option needs strace 5.5 or newer.
2025-05-09 18:25:47 +02:00
Victor Stinner
6d9ec4e9d7
gh-133644: Avoid deprecated Py_SetProgramName() in _testembed.c ( #133665 )
...
* Rename _testembed_Py_InitializeFromConfig() to
_testembed_initialize().
* Replace _testembed_Py_Initialize() with _testembed_initialize().
2025-05-09 17:50:21 +02:00
Éric
de28651a7f
gh-123299: Some copyedits to What's New in 3.14 ( #133622 )
2025-05-09 11:32:26 -04:00
Stan Ulbrych
4fd1095280
gh-133610: Remove PyUnicode_AsDecoded/Encoded functions ( #133612 )
2025-05-09 17:31:24 +02:00
Stan Ulbrych
f34ec09ba5
gh-46236: Document PyUnicode_BuildEncodingMap ( #133270 )
2025-05-09 17:19:07 +02:00
sobolevn
cd2f234ad2
gh-133403: Check Tools/build/generate-build-details.py
with mypy ( #133735 )
2025-05-09 17:21:49 +03:00
Yongzi Li
076004ae54
Docs: use boolean constants for returning boolean value (GH-133325)
2025-05-09 17:11:50 +03:00
Stefano Rivera
2a630a35cf
Manpage: -X gil is not related to PYTHON_HISTORY ( #133753 )
2025-05-09 17:11:21 +03:00
Adam Turner
2c7cac4c0d
GH-132983: Restore libzstd fallback detection ( #133565 )
2025-05-09 15:09:20 +01:00
Adam Turner
c2a5d4b383
gh-132983: Clean-ups for `_zstd
` ( #133670 )
2025-05-09 15:08:51 +01:00
Akshat Gupta
a2a0fa91c4
gh-133682: Fix inconsistent set ordering in annotationlib test ( #133702 )
2025-05-09 07:01:01 -07:00
Bénédikt Tran
3ed8d6fdd1
gh-133644: update Py_InteractiveFlag
deprecation notice ( #133749 )
2025-05-09 15:42:42 +02:00
Tan Long
ebd4881db2
gh-133439: Fix dot commands with trailing spaces are mistaken for multi-line sqlite statements in the sqlite3 command-line interface (GH-133440)
2025-05-09 11:41:10 +00:00
Bénédikt Tran
5044e85265
gh-133644: Remove deprecated Python initialization getter functions ( #133661 )
...
Remove functions:
* Py_GetExecPrefix()
* Py_GetPath()
* Py_GetPrefix()
* Py_GetProgramFullPath()
* Py_GetProgramName()
* Py_GetPythonHome()
2025-05-09 11:39:23 +00:00
Tomas R.
f52de8a937
gh-133017: Improve error message for invalid typecodes in multiprocessing.{Array,Value} (GH-133252)
2025-05-09 11:46:45 +03:00
Kumar Aditya
2cd24ebfe9
fix thread safety of io.StringIO.truncate
( #133732 )
2025-05-09 07:59:17 +00:00
Jelle Zijlstra
308ceffc68
gh-133581: Fix refleak in t-string AST unparsing ( #133724 )
2025-05-09 09:10:52 +02:00
Will Childs-Klein
6801bd32cb
gh-133623: Add ssl.HAS_PSK_TLS13
to detect external TLS 1.3 PSK support ( #133624 )
2025-05-09 09:09:09 +02:00
Nybblista
f77dac66e1
gh-133412: amend docs for the inst
definition ( #133708 )
...
The `stack_effect` is incorrectly documented as being allowed to be optional.
2025-05-09 09:06:22 +02:00
vfdev
8054184f9f
gh-133253: making linecache thread-safe ( #133305 )
...
Co-authored-by: Sam Gross <colesbury@gmail.com>
2025-05-09 12:15:16 +05:30
Nybblista
6d5a8c2ec1
gh-133476: Assert with the PyStackRef_IsTaggedInt
function (GH-133477)
2025-05-09 08:17:50 +08:00
Tomas R.
c492ac7252
GH-131798: Split up and optimize CALL_ISINSTANCE (GH-133339)
2025-05-08 14:26:30 -07:00
Łukasz Langa
b2fabce6ab
gh-133541: Handle SyntaxError raised by the tokenizer on user input ( #133606 )
2025-05-08 21:14:38 +01:00
Steve Dower
6ce469dcba
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up site-packages (GH-133693)
2025-05-08 20:47:36 +01:00
Rafael Fontenelle
9546eeea90
Fix typo in pending-removal-in-3.14.rst (GH-133680)
2025-05-08 18:57:23 +00:00
Tomasz Pytel
5dd3a3a58c
gh-132551: make io.BytesIO
thread safe ( #132616 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-05-08 18:51:36 +00:00