Commit graph

128749 commits

Author SHA1 Message Date
Hugo van Kemenade
aeff92d86a Python 3.15.0a1 2025-10-14 13:46:08 +03:00
Hugo van Kemenade
f71c96cf2d
gh-133879: Copyedit "What's new in Python 3.15" (#140007) 2025-10-14 13:32:55 +03:00
Wulian233
5976432138
gh-137634: Modernize calendar.HTMLCalendar output (#137635) 2025-10-14 13:25:12 +03:00
Gil Forcada Codinachs
253534515c
gh-139958: Add TOML MIME type (#139959)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-10-14 13:20:14 +03:00
Sebastian Pipping
0c17473513
gh-90949: Recommend hasattr with Expat security methods (#139800) 2025-10-14 13:18:09 +03:00
Doug Hoskisson
13e9c2d18d
gh-114827: clarify threading.Event.wait timeout behavior (#114834)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-10-14 11:34:53 +03:00
Stan Ulbrych
e6102f0755
gh-82575: Adjust time.get_clock_info *adjustable* attribute doc (#135920) 2025-10-14 11:30:56 +03:00
Aziz
025b4034d6
gh-137871: Clarify cmath.nan documentation by linking to math module (#137876)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-10-14 11:24:43 +03:00
Irit Katriel
fb25d6b35c
gh-97914: Reword misleading sentence on conditional expressions (#139064)
Co-authored-by: Gilles Peiffer <gilles.peiffer.yt@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-14 11:21:13 +03:00
Morteza24
362fd59dc8
gh-138072: Fix typos and grammatical errors and improve clarity in asyncio howto document (#138895) 2025-10-14 11:19:35 +03:00
Loïc Simon
7caa591bb9
gh-102247: Improve documentation of http.HTTPStatus members update (#133190) 2025-10-14 11:18:17 +03:00
Stan Ulbrych
207f977bc7
gh-138993: Dedent credits text (#138994) 2025-10-14 11:15:17 +03:00
Weilin Du
6ca91834b8
gh-101100: Fix sphinx warnings in library/smtplib.rst (#139991)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-10-14 11:12:24 +03:00
Rafael Fontenelle
f70082b477
gh-70765: Remove unnecessary extra backtick from Changelog entry (#140071) 2025-10-14 11:05:59 +03:00
Ned Deily
8e0bf4fe5d
gh-115119: Update macOS installer to use libmpdecimal 4.0.1. (#140077) 2025-10-14 00:48:27 -04:00
Ned Deily
4e342ea642
gh-124111: Update macOS installer to use Tcl/Tk 9.0.2. (#140076) 2025-10-14 00:42:23 -04:00
Ned Deily
65a6d196a1
gh-132339: Update macOS installer version of OpenSSL to 3.5.4. (#140075) 2025-10-14 00:28:46 -04:00
Hugo van Kemenade
9c1279d5de
gh-124111: test macOS CI with Tk 9 (#137424)
Co-authored-by: Ned Deily <nad@python.org>
2025-10-14 00:00:58 -04:00
Mikhail Efimov
be60e4b4f3
gh-140000: Traverse name attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpec (#140016) 2025-10-13 13:10:39 -07:00
Steve Dower
c46265d94a
gh-139810: Always generate -dev tags for PyManager packages (GH-139814) 2025-10-13 20:43:14 +01:00
Kumar Aditya
6481539a6d
gh-125996: fix thread safety of collections.OrderedDict (#133734) 2025-10-13 22:55:07 +05:30
Serhiy Storchaka
525dcfe523
gh-138772: Fix and improve documentation for turtle color functions (GH-139325)
Use multiple signatures for clarity.
Explain different forms of bgcolor() in details.
Fix outdated docstrings.
2025-10-13 18:32:16 +03:00
Hugo van Kemenade
88fc0a0fdc
Using Python on Windows: Free-threaded is supported from 3.14 (#139992) 2025-10-13 17:18:45 +03:00
Stan Ulbrych
1a82568568
gh-139823: Check if zlib is available in ensurepip (GH-139954) 2025-10-13 16:01:06 +02:00
Mikhail Efimov
52996aaa78
gh-107073: fix relevant typo in PyObject_ClearManagedDict (#140032) 2025-10-13 13:23:09 +02:00
mdehoon
a00655b877
gh-140001: Remove obsolete TCL_WIN_SOCKET macro (from Tcl 7.x) from _tkinter.c (GH-139998)
Co-authored-by: Michiel Jan Laurens de Hoon <mdehoon@Michiels-MacBook-Air.local>
2025-10-13 13:29:42 +03:00
Pieter Eendebak
e6aa515296
gh-140009: Improve performance of list_extend_dictitems by using PyTuple_FromArray (#140010) 2025-10-13 15:58:25 +05:30
Bartosz Sławecki
0344db8d60
gh-131189: Remove curses mention from PYTHON_BASIC_REPL docs (#140022)
The `curses` dependency for the default REPL has been removed
in 09dfb50f1b.
2025-10-13 10:40:39 +02:00
Arseniy Krupchik
bb85af343f
gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels (#136479)
test_pydoc.test_pydoc now passes with -OO
2025-10-12 15:17:41 -07:00
Victor Stinner
5f91d5d9a4
gh-112075: Remove _PyObject_SetManagedDict() function (#139737)
Move it to the internal C API and no longer export it.
2025-10-12 19:32:10 +02:00
Savannah Ostrowski
0fc5c56815
GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions (#139980) 2025-10-12 09:51:13 -07:00
Bartosz Sławecki
68622be935
gh-139155: Remove "dictionaries are sorted by key" note in pprint docs (GH-139159) 2025-10-12 12:48:22 -04:00
Bénédikt Tran
6710156bd2
gh-139988: fix a leak when failing to create a Union type (#139990) 2025-10-12 12:51:44 +02:00
Alper
a18843dbfb
gh-116738: test dbm.gnu module on FT Python build (#138467) 2025-10-12 13:12:10 +05:30
sobolevn
d6dd64ac65
gh-138044: Fix importlib.resources.files deprecation docs (#139632) 2025-10-12 01:52:01 +03:00
Victor Stinner
35e9d41a9c
gh-139482: Add posix._clearenv() function (#139965) 2025-10-11 22:58:43 +02:00
Victor Stinner
166cdaa6fb
gh-111489: Remove _PyTuple_FromArray() alias (#139973)
Replace _PyTuple_FromArray() with PyTuple_FromArray().
Remove pycore_tuple.h includes.
2025-10-11 22:58:14 +02:00
Weilin Du
447c7a89fb
gh-101100: Fix Sphinx warnings in Doc/library/signal.rst (GH-139930) 2025-10-11 14:26:48 -04:00
Bénédikt Tran
cdd3eee7fc
gh-139929: fix incorrect OpenSSL version-based guard in _ssl.c (GH-139945)
fix OpenSSL version-based guards
2025-10-11 10:34:08 -07:00
Stan Ulbrych
5776d0d2e0
gh-139905: Provide suggestion in error message if Generic.__init_subclass__ was not called (#139943) 2025-10-11 15:14:29 +00:00
Bénédikt Tran
2eb32add92
gh-139935: do not skip test on real errors in os.getlogin (#139953) 2025-10-11 16:31:34 +02:00
yihong
897a36badd
gh-139935: fix test_os.test_getlogin on some platforms (#139936)
This amends 4e7e2dd043 to catch errors
that `os.getlogin` can raise as specified by POSIX and Linux/glibc [1].

[1]: https://man7.org/linux/man-pages/man3/getlogin.3.html#ERRORS

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-10-11 12:32:57 +00:00
Stan Ulbrych
d4e5802588
gh-96491: Deduplicate version in IDLE shell title (#139841)
Saving to a file added both the filename and repeated the version.
---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2025-10-10 21:37:48 -04:00
Dino Viehland
ff7bb565d8
gh-139924: Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers (#139925)
Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers
2025-10-10 15:25:38 -07:00
Sam Gross
d9b4eef71e
gh-139001: Fix thread-safety issue in pathlib.Path (gh-139066)
Don't cache the joined path in `_raw_path` because the caching isn't thread safe.
2025-10-10 17:20:18 -04:00
Stan Ulbrych
aa840f500c
gh-138843: Removing "Unpacking" section from Download page (GH-139918) 2025-10-10 14:22:34 -05:00
Barney Gale
49aaee7978
pathlib ABCs: restore relative_to() and is_relative_to() (#138853)
Restore `JoinablePath.[is_]relative_to()`, which were deleted in
ef63cca494. These methods are too useful to
forgo. Restore old tests, and add new tests covering path classes with
non-overridden `__eq__()` and `__hash__()`.

Slightly simplify `PurePath.relative_to()` while we're in the area.

No change to public APIs, because the pathlib ABCs are still private.
2025-10-10 19:08:55 +01:00
Kumar Aditya
b881df47ff
gh-139894: fix incorrect sharing of current task while forking in asyncio (#139897)
Fix incorrect sharing of current task with the forked child process by clearing thread state's current task and current loop in `PyOS_AfterFork_Child`.
2025-10-10 21:58:23 +05:30
Stan Ulbrych
c7f1da97eb
gh-101100: Document zlib public constants to fix reference warnings (#139835)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-10-10 15:32:44 +00:00
Weilin Du
302f19d1f1
gh-139843: Document signals (SIGSTOP, SIGVTALRM, SIGPROF) to fix sphinx references (GH-139896) 2025-10-10 11:28:38 -04:00