Miss Islington (bot)
c8c8cc2e8f
[3.13] gh-141004: Document PyOS_InterruptOccurred (GH-141526) (GH-141550)
...
gh-141004: Document `PyOS_InterruptOccurred` (GH-141526)
(cherry picked from commit ef90261be5 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-14 15:58:19 +00:00
Miss Islington (bot)
baa9216159
[3.13] gh-141004: Document PyErr_RangedSyntaxLocationObject (GH-141521) ( #141524 )
...
gh-141004: Document `PyErr_RangedSyntaxLocationObject` (GH-141521)
PyErr_RangedSyntaxLocationObject
(cherry picked from commit 196f1519cd )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-13 18:05:43 +00:00
Miss Islington (bot)
c86f5d3ebe
[3.13] gh-141004: Document PyCode_Optimize (GH-141378) (GH-141515)
...
gh-141004: Document `PyCode_Optimize` (GH-141378)
(cherry picked from commit d7862e9b1b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-13 15:14:32 +00:00
Miss Islington (bot)
c38d8607d2
[3.13] gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009) (GH-141513)
...
gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009)
(cherry picked from commit f72768f30e )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-13 15:09:23 +00:00
Miss Islington (bot)
f50989f3cb
[3.13] gh-140748: socket_helper.transient_internet: Unwrap UrlError.__cause__ (GH-140749) (GH-141506)
...
(cherry picked from commit 75a1cbdd38 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-13 13:58:46 +01:00
Petr Viktorin
6916bfb800
[3.13] gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190) (GH-141193)
...
(cherry picked from commit d81e1ef0f3 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-13 13:28:57 +01:00
Miss Islington (bot)
72b6ff0a85
[3.13] gh-140601: Refactor ElementTree.iterparse() tests (GH-141499) (GH-141503)
...
Split existing tests on smaller methods and move them to separate class.
Rename variable "content" to "it".
Use BytesIO instead of StringIO.
Add few more tests.
(cherry picked from commit 2fbd396666 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-11-13 11:57:58 +00:00
Miss Islington (bot)
e5b82c433c
[3.13] gh-103847: fix cancellation safety of asyncio.create_subprocess_exec (GH-140805) ( #141447 )
...
gh-103847: fix cancellation safety of `asyncio.create_subprocess_exec` (GH-140805)
(cherry picked from commit ef474cfafb )
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-11-13 17:05:01 +05:30
Peter Bierma
39de3f87c1
[3.13] gh-141004: Document PyType_SUPPORTS_WEAKREFS (GH-141408) (GH-141487)
...
* gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 9cd5427d96 )
2025-11-12 23:02:58 +00:00
Miss Islington (bot)
f127ff7daf
[3.13] gh-141004: Document PyRun_InteractiveOneObject (GH-141405) (GH-141486)
...
gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405)
(cherry picked from commit 26b7df2430 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-12 22:59:55 +00:00
Miss Islington (bot)
83bd8689aa
[3.13] gh-124111: Fix TCL 9 thread detection (GH-141483)
...
(cherry picked from commit dc0987080e )
Co-authored-by: Michael Cho <michael@michaelcho.dev>
2025-11-12 22:44:01 +00:00
Miss Islington (bot)
6aeb0d5b2a
[3.13] gh-141442: Add escaping to iOS testbed arguments (GH-141443) ( #141480 )
...
Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936bec1 )
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-11-12 22:03:51 +00:00
Cody Maloney
7c62bd571b
[3.13] gh-141311: Avoid assertion in BytesIO.readinto() (GH-141333) (GH-141478)
...
Fix error in assertion which causes failure if pos is equal to PY_SSIZE_T_MAX.
Fix undefined behavior in read() and readinto() if pos is larger that the size
of the underlying buffer.
(cherry picked from commit 7d54374f9c )
2025-11-12 23:37:06 +02:00
Miss Islington (bot)
fffd38b2dd
[3.13] gh-141412: Use reliable target URL for urllib example (GH-141475)
...
The endpoint used for demonstrating reading URLs is no longer
stable. This change substitutes a target over which we have more
control.
(cherry picked from commit fbcac79951 )
Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
2025-11-12 18:40:22 +00:00
Miss Islington (bot)
7ca34db12b
[3.13] gh-141004: Document Py_MATH_{E, PI, TAU} constants (GH-141373) ( #141472 )
...
gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (GH-141373)
(cherry picked from commit f1330b35b8 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-12 17:03:55 +00:00
Miss Islington (bot)
18b883b9e9
[3.13] gh-132657: add regression test for PySet_Contains with unhashable type (GH-141411) ( #141467 )
...
gh-132657: add regression test for `PySet_Contains` with unhashable type (GH-141411)
(cherry picked from commit 2ac738d325 )
Co-authored-by: M Bussonnier <bussonniermatthias@gmail.com>
2025-11-12 21:12:18 +05:30
Mohsin Mehmood
8402c28f11
[3.13] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return (GH-141331) (GH-141452)
...
The assertion was checking wrong variable (skip_back vs skip_bytes).
(cherry picked from commit af80fac425 )
2025-11-12 12:40:14 +02:00
Miss Islington (bot)
c317cf51f1
[3.13] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141455)
...
(cherry picked from commit 20f53df07d )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-11-12 09:57:08 +00:00
Peter Bierma
51c60f3681
[3.13] gh-141004: Document PyBytes_Repr and PyBytes_DecodeEscape (GH-141407) (GH-141441)
...
* gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 37e2762ee1 )
2025-11-12 02:08:28 +00:00
Miss Islington (bot)
aec6b72297
[3.13] gh-137952: update csv.Sniffer().has_header() docs to describe the actual off-by-onish behavior (GH-137953) ( #141435 )
...
gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953)
* checks 21, not 20
* Say "header" instead of "first row" to disambiguate per review.
---------
(cherry picked from commit 0d7b48a8f5 )
Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-11 16:13:19 -08:00
Miss Islington (bot)
54f620cc7f
[3.13] gh-138775: fix handle python -m base64 stdin correct with EOF signal (GH-138776) ( #141433 )
...
gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH-138776)
* fix: handle stdin correct with EOF single.
* fix: flollow the comments when pipe stdin use buffer
* Apply suggestions from code review
* fix: apply review comments in Lib/base64.py
* fix: address comments
* Reword comment and NEWS entry.
---------
(cherry picked from commit f5c2a41f9a )
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2025-11-12 00:10:07 +00:00
Miss Islington (bot)
b28ba31c69
[3.13] gh-141004: Document PyFile_OpenCode and PyFile_OpenCodeObject (GH-141413) (GH-141426)
...
gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413)
(cherry picked from commit 2befce86e6 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-11 16:48:36 -05:00
Miss Islington (bot)
305e9c5fc4
[3.13] gh-139533: fix refs to code without proper markups on turtledemo doc (GH-139534) ( #141422 )
...
gh-139533: fix refs to code without proper markups on turtledemo doc (GH-139534)
(cherry picked from commit c903d76832 )
gh-139533: fix refs to code without proper markups on turtledemo documentation
Co-authored-by: Marco Barbosa <aureliobarbosa@gmail.com>
2025-11-11 19:42:01 +00:00
Miss Islington (bot)
07a6bdd765
[3.13] gh-141004: Document PyType_Unwatch (GH-141414) (GH-141419)
...
gh-141004: Document `PyType_Unwatch` (GH-141414)
(cherry picked from commit 759a048d4b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-11 17:28:52 +00:00
Sergey B Kirpichev
05e7b0dadf
[3.13] gh-141004: document Py_INFINITY and Py_NAN macros (GH-141145) ( #141400 )
...
(cherry picked from commit d69447445c )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-11 14:52:05 +01:00
Miss Islington (bot)
6d37d948d4
[3.13] gh-140379: add hyperlinks to list and set (GH-140399) ( #141387 )
...
gh-140379: add hyperlinks to list and set (GH-140399)
add hyperlinks to list and set
(cherry picked from commit 92741c59f8 )
Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
2025-11-11 06:09:28 +00:00
Miss Islington (bot)
8f47ec58f6
[3.13] gh-140485: Catch ChildProcessError in multiprocessing resource tracker (GH-141132) ( #141385 )
...
gh-140485: Catch ChildProcessError in multiprocessing resource tracker (GH-141132)
(cherry picked from commit 9cb8c52d5e )
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-11 05:21:20 +00:00
Miss Islington (bot)
a9c00827dd
[3.13] gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689) ( #141383 )
...
gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689)
* Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist
Closes GH-140578
* Add NEWS.d entry for gh-140578
---------
(cherry picked from commit 46b58e1bb9 )
Co-authored-by: Louis <paternal@users.noreply.github.com>
Co-authored-by: Louis Paternault <spalax@gresille.org>
2025-11-11 04:58:30 +00:00
Miss Islington (bot)
a8c9aff84f
[3.13] gh-141004: Document missing frame APIs (GH-141189) (GH-141380)
...
gh-141004: Document missing frame APIs (GH-141189)
(cherry picked from commit 86513f6c2e )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 21:42:04 +00:00
Miss Islington (bot)
d15841342d
[3.13] gh-141004: Document PyType_FastSubclass (GH-141313) (GH-141369)
...
gh-141004: Document `PyType_FastSubclass` (GH-141313)
(cherry picked from commit ed0a5fd8ca )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-10 17:52:22 +00:00
Miss Islington (bot)
1f9f8e5f68
[3.13] gh-139707: Specify winreg, msvcrt and winsound module availability in docs (GH-140429) (GH-141350)
...
(cherry picked from commit 13fa313beb )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 17:40:53 +01:00
Miss Islington (bot)
0facabc2d8
[3.13] gh-141343: Fix swapped words in sorted doc (GH-141356)
...
(cherry picked from commit 59b793b0dd )
Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2025-11-10 15:02:45 +00:00
Petr Viktorin
6384c7917d
[3.13] Clarify argument/result ownership/validity for PyModule_* functions (GH-141159) (GH-141191)
...
(cherry picked from commit ffd64737d0 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-10 15:06:58 +01:00
Miss Islington (bot)
cab85ced49
[3.13] gh-140500: Update download.html instructions (GH-141320) ( #141346 )
...
Co-authored-by: Karina Souza <97332018+KarinaS0uza@users.noreply.github.com>
Co-authored-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2025-11-10 12:46:06 +00:00
Miss Islington (bot)
9cbbb2eb21
[3.13] gh-141004: Document pyctype.h macros (GH-141272) (GH-141339)
...
gh-141004: Document `pyctype.h` macros (GH-141272)
(cherry picked from commit df19261621 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 10:11:39 +00:00
Miss Islington (bot)
70bcf946f1
[3.13] gh-141004: Document Py_DTSF_* macros (GH-141310) (GH-141330)
...
gh-141004: Document `Py_DTSF_*` macros (GH-141310)
(cherry picked from commit 9b0179fa87 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 00:49:30 +00:00
Miss Islington (bot)
379d8146d0
[3.13] gh-62480: De-personalize "Partial mocking" section in unittest.mock examples (GH-141321) ( #141327 )
...
gh-62480: De-personalize "Partial mocking" section in `unittest.mock` examples (GH-141321)
* Refine some wording in unittest partial mock doc
Some of the descriptions were addressed in first person,
but have now been changed to address the user reading the documentation instead.
(cherry picked from commit b618731781 )
Co-authored-by: KarnbirKhera <166065758+KarnbirKhera@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2025-11-09 18:08:09 -06:00
Miss Islington (bot)
b9d4cefe76
[3.13] gh-62480: De-personalize "Mocking Unbound Methods" section in unittest.mock examples (GH-141322) ( #141325 )
...
gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (GH-141322)
* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3cbfe )
Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-09 18:07:25 -06:00
Miss Islington (bot)
5ad2842915
[3.13] gh-141004: Document PySuper_Type (GH-141315) (GH-141319)
...
gh-141004: Document `PySuper_Type` (GH-141315)
(cherry picked from commit 14c62227f9 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 20:01:33 +00:00
Miss Islington (bot)
811fd8f4a4
[3.13] gh-141004: Document PyClassMethod* and PyStaticMethod* APIs (GH-141296) (GH-141309)
...
gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296)
(cherry picked from commit 807db68ddd )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 18:09:43 +00:00
Miss Islington (bot)
aa2c8ea1e7
[3.13] gh-141004: Document PyFunction_SetKwDefaults (GH-141294) (GH-141305)
...
gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)
(cherry picked from commit 18529b580b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 17:55:02 +00:00
Miss Islington (bot)
a9619899fc
[3.13] gh-141004: Document PyExceptionInstance* APIs (GH-141301) (GH-141303)
...
gh-141004: Document `PyExceptionInstance*` APIs (GH-141301)
(cherry picked from commit b5a0c72492 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 12:20:18 -05:00
Miss Islington (bot)
92ae15802d
[3.13] gh-141004: Document Py_func_type_input (GH-141273) (GH-141299)
...
gh-141004: Document `Py_func_type_input` (GH-141273)
(cherry picked from commit 8dd8498286 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 16:28:26 +00:00
Miss Islington (bot)
2dd8812850
[3.13] gh-141004: document curses C API (GH-141254) ( #141293 )
...
gh-141004: document `curses` C API (GH-141254)
(cherry picked from commit dbe40904a7 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-09 15:50:46 +00:00
Miss Islington (bot)
a6d980472d
[3.13] gh-141004: Document PyWeakref_CheckRefExact (GH-141279) (GH-141291)
...
gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279)
(cherry picked from commit 60155329a0 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 15:39:53 +00:00
Peter Bierma
7b3f7ffb47
[3.13] gh-141004: Document deprecated aliases for memory allocation (GH-141146) (GH-141289)
...
* gh-141004: Document deprecated aliases for memory allocation (GH-141146)
(cherry picked from commit 1d738dea63 )
2025-11-09 15:37:13 +00:00
Bénédikt Tran
718886f6c6
[3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908) ( #141283 )
...
gh-140530: fix a reference leak in an error path for `raise exc from cause` (#140908 )
Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.
(cherry picked from commit 0c77e7c23b )
2025-11-09 15:57:26 +01:00
Bénédikt Tran
873f0d023c
[3.13] gh-100218: correctly set errno when socket.if_{nametoindex,indextoname} raise OSError (GH-140905) ( #141285 )
...
Previously, socket.if_nametoindex() and socket.if_indextoname() could raise
an `OSError` with a `None` errno. Now, the errno from libc is propagated.
(cherry picked from commit 3ce2d57b2f )
2025-11-09 13:31:49 +00:00
Miss Islington (bot)
052a53982a
[3.13] gh-141127: Clarify os.symlink() documentation for argument order (GH-141144) ( #141277 )
...
gh-141127: Clarify os.symlink() documentation for argument order (GH-141144)
(cherry picked from commit 7ae440f262 )
Co-authored-by: Chilla Kalyan <127284726+chillakalyan@users.noreply.github.com>
2025-11-09 11:19:35 +01:00
Miss Islington (bot)
1cd0b74350
[3.13] gh-141004: Document Py_BUILD_ASSERT* macros (GH-141266) (GH-141270)
...
gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266)
(cherry picked from commit 0ac890bea7 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-08 19:28:32 +00:00