Tan Long
161b3064ef
gh-133390: sqlite3 CLI completion for tables, columns, indices, triggers, views, functions, schemata (GH-136101)
2025-10-24 08:26:36 +02:00
Victor Stinner
5d2edf72d2
gh-83714: Set os.statx().stx_mode to None if missing from stx_mask ( #140484 )
...
* Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from
stx_mask.
* Enhance os.statx() tests.
* statx_result structure: remove atime_sec, btime_sec, ctime_sec and
mtime_sec members. Compute them on demand when stx_atime,
stx_btime, stx_ctime and stx_mtime are read.
* Doc: fix statx members sorting.
2025-10-23 22:35:17 +02:00
George Ogden
4d0849426f
gh-138774: use value to ast.unparse code when str is None in ast.Interpolation ( #139415 )
2025-10-23 13:56:05 +00:00
Maurycy Pawłowski-Wieroński
6be6f8ff59
gh-137627: Make csv.Sniffer.sniff() delimiter detection 1.6x faster ( #137628 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-10-23 15:28:29 +03:00
Jakob
d2f3cfd384
gh-140448: Default suggest_on_error to True in argparse.ArgumentParser ( #140450 )
2025-10-22 16:15:26 +00:00
Victor Stinner
7339cf7899
gh-83714: Use "stx_" prefix for all os.statx_result members ( #140432 )
...
Rename stx_birthtime to stx_btime, and rename stx_birthtime_ns to
stx_btime_ns.
2025-10-22 11:48:37 +02:00
Jeffrey Bosboom
60df1d7e0c
gh-83714: Check for struct statx members in configure ( #140402 )
...
Some systems have the definitions of the mask bits without having the
corresponding members in struct statx. Add configure checks for members
added after Linux 4.11 (when statx itself was added).
2025-10-21 18:13:14 +02:00
Adam Turner
b4d2307367
Use `sphinxext-opengraph` v0.13.0 (GH-140425)
2025-10-21 16:02:43 +00:00
David Ellis
95c257e2e6
gh-138764: annotationlib: Make call_annotate_function fallback to using VALUE annotations if both the requested format and VALUE_WITH_FAKE_GLOBALS are not implemented ( #138803 )
2025-10-21 15:57:43 +00:00
Adam Turner
4adf08ae46
GH-139436: Remove references to downloadable PDF documentation ( #140416 )
2025-10-21 13:37:06 +01:00
Cycloctane
5c41666ec4
gh-133951: Add venv changes to documentation and whatsnew (GH-139704)
2025-10-21 10:52:57 +02:00
sobolevn
e09837fcbf
gh-133601: Remove deprecated typing.no_type_check_decorator ( #133602 )
2025-10-20 21:10:44 +00:00
Sam Bull
a752f58d6b
[Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints() ( #139565 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-10-20 20:09:33 +00:00
Victor Stinner
3222ea0f14
gh-83714: Set os.statx() members to None if missing from stx_mask ( #140216 )
2025-10-20 17:59:12 +02:00
Ned Batchelder
237dca52ba
Docs: replace an esoteric Von Neumann mention ( #137598 )
...
* Docs: replace an esoteric Von Neumann mention
* oops, don't need to edit topics.py
2025-10-20 10:01:20 -04:00
Charlie Lin
e4f6445f30
gh-140166: Use application/texinfo as sole MIME type for .texi and .texinfo files ( #140165 )
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2025-10-20 16:14:23 +03:00
Hugo van Kemenade
99c3c63d2b
gh-76007: Deprecate __version__ attribute in imaplib ( #140299 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-10-20 15:20:44 +03:00
Furkan Onder
faa169afa0
gh-66646: Explain __base__ attribute in the docs (GH-102554)
...
Co-authored-by: Éric <merwok@netwok.org>
2025-10-20 14:15:30 +02:00
Brandon Hubacher
7babe31443
Remove typo in `functools.lru_cache` docs ( #140278 )
2025-10-20 14:25:01 +05:30
Peter Holloway
3c2781dc5f
Fix typo in PyIter_Send docs ( #140336 )
2025-10-20 14:23:57 +05:30
Weilin Du
9c18f75e7c
gh-101100: Fix sphinx warnings in library/resource.rst ( #140023 )
2025-10-20 10:15:40 +03:00
Stan Ulbrych
091e8513bb
zlib.rst: Link to constants and deduplicate text (GH-140115)
...
* Link to compression setting constants from compression functions
* De-duplicate descriptions of the constants
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-10-19 21:22:39 -07:00
Ned Batchelder
ed672f7a8a
docs: be clearer that glob results are unordered ( #140184 )
...
* docs: be clearer that glob results are unordered
* trim down the opening paragraph
2025-10-19 16:16:35 -04:00
Marat Khagazheev
115a04b802
gh-138997: Remove false justify fill option from Tkinter docs ( #139023 )
...
Co-authored-by: marat <khagazheev@artlebedev.ru>
2025-10-18 23:45:52 -04:00
Parham MohammadAlizadeh
920de7ccdc
gh-128571: Document UTF-16/32 native byte order ( #139974 )
...
Closes #128571
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-10-18 20:47:04 +02:00
Serhiy Storchaka
78e1d65a4d
gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() (GH-140242)
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-18 13:55:26 +03:00
Tomasz Dądela
67c98ad8ef
gh-133059: Update documentation of preallocated integer range in long.rst (GH-140231)
2025-10-17 06:32:02 -04:00
Stan Ulbrych
869bb6948e
Standardize translation of Doc/bugs.rst (GH-137449)
2025-10-17 08:55:12 +02:00
Tan Long
2ebd0cdb16
Remove duplicate words in the documentation ( #140221 )
2025-10-16 18:27:00 +01:00
wangxiaolei
5f357f3b0d
gh-140078: fix typo in tkinter docs ( #140081 )
...
Remove extraneous word.
2025-10-16 11:02:38 -04:00
Jeffrey Bosboom
5a31024da4
gh-83714: Check for struct statx.stx_atomic_write_unit_max_opt in configure ( #140185 )
...
stx_atomic_write_unit_max_opt was added in Linux 6.16, but is controlled
by the STATX_WRITE_ATOMIC mask bit added in Linux 6.11. That's safe at
runtime because all kernels clear the reserved space in struct statx and
zero is a valid value for stx_atomic_write_unit_max_opt, and it avoids
allocating another mask bit, which are a limited resource. But it also
means the kernel headers don't provide a way to check whether
stx_atomic_write_unit_max_opt exists, so add a configure check.
2025-10-16 13:40:47 +02:00
Alex Waygood
65d1a14d59
gh-139817: typing docs: Fix indentation of .. versionadded:: note for TypeAliasType.__qualname__ ( #140177 )
2025-10-15 20:18:39 +00:00
Mikhail Efimov
f673f0e7b4
gh-139817: Attribute __qualname__ is added to TypeAliasType ( #139919 )
2025-10-15 09:08:17 -07:00
Stan Ulbrych
1624c646b0
gh-140065: Lexical analysis: Correct note about leading zeros in floating point numbers (GH-140066)
2025-10-15 15:15:45 +00:00
Jeffrey Bosboom
fe9ac7fc8c
gh-83714: Implement os.statx() function ( #139178 )
...
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-10-15 13:44:08 +00:00
Victor Stinner
4126d9f1ab
gh-129813: Enhance PyBytesWriter documentation ( #140152 )
...
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
2025-10-15 14:54:18 +02:00
Stan Ulbrych
46f11b36ad
gh-76007: Deprecate zlib.__version__ attribute ( #140130 )
2025-10-15 13:18:48 +02:00
Stan Ulbrych
2ca3c85054
Update documented minimum required zlib library version ( #140116 )
2025-10-15 00:16:00 +02:00
Hugo van Kemenade
348a26ff0e
Merge branch 'main' of https://github.com/python/cpython
2025-10-14 17:41:22 +03:00
Adorilson Bezerra
07e617ecc2
gh-106318: Add examples for str.istitle() ( #140046 )
2025-10-14 17:19:27 +03:00
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
Sebastian Pipping
0c17473513
gh-90949: Recommend hasattr with Expat security methods ( #139800 )
2025-10-14 13:18:09 +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
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