Commit graph

14177 commits

Author SHA1 Message Date
Miss Islington (bot)
cf4573b51e
[3.14] gh-138092: Correct the documented signature of `mmap.flush` (GH-138671) (#139202)
gh-138092: Correct the documented signature of ``mmap.flush`` (GH-138671)
(cherry picked from commit e101f907dc)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
2025-09-21 21:24:10 +01:00
Miss Islington (bot)
ccdc0c9992
[3.14] Doc/library/os.rst: Remove spurious parenthesis (GH-139205) (#139217)
`Doc/library/os.rst`: Remove spurious parenthesis (GH-139205)
(cherry picked from commit 9c3d09b984)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-09-21 20:56:06 +01:00
Miss Islington (bot)
665a3495bf
[3.14] gh-118803: Improve documentation around ByteString deprecation (GH-139115) (#139136)
gh-118803: Improve documentation around `ByteString` deprecation (GH-139115)
(cherry picked from commit 4305cc3ef3)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-09-18 17:54:43 +00:00
Hugo van Kemenade
1c5b28405a Python 3.14.0rc3 2025-09-18 09:45:38 +01:00
Miss Islington (bot)
a20395b899
[3.14] GH-139067: Add example for argparse's append action (GH-131389) (#139068)
GH-139067: Add example for `argparse`'s `append` action (GH-131389)
(cherry picked from commit 101fd33065)

Co-authored-by: Moshe Kaplan <mosheekaplan@gmail.com>
2025-09-17 23:27:53 +01:00
Miss Islington (bot)
7a2854eb12
[3.14] gh-132558: Improve argparse docs on combining type and choices (GH-133827) (#139057)
gh-132558: Improve `argparse` docs on combining `type` and `choices` (GH-133827)
(cherry picked from commit dd0840bf67)

Co-authored-by: Hans Then <hans.then@gmail.com>
Co-authored-by: Savannah Bailey <savannahostrowski@gmail.com>
2025-09-17 17:19:33 +01:00
Miss Islington (bot)
9d0ca237af
[3.14] gh-137988: Fix const description in argparse.add_argument() docs (GH-138315) (#139051)
Co-authored-by: PrinceNaroliya <naroliyaprince@gmail.com>
Co-authored-by: Savannah Bailey <savannahostrowski@gmail.com>
2025-09-17 18:51:30 +03:00
Miss Islington (bot)
37f8a63e39
[3.14] gh-138514: getpass: restrict echo_char to a single ASCII character (GH-138591) (#138988)
Co-authored-by: Benjamin Johnson <benjohnson2040@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-09-17 17:20:45 +03:00
Miss Islington (bot)
ce48f4c845
[3.14] gh-139006: Doc: Clarify html.escape function description (GH-139016) (#139036)
gh-139006: Doc: Clarify html.escape function description (GH-139016)
(cherry picked from commit 81c975bcfc)


Doc: Clarify html.escape function description (GH-139006)

Co-authored-by: PrinceNaroliya <naroliyaprince@gmail.com>
2025-09-17 21:58:17 +08:00
Miss Islington (bot)
82fce8271c
[3.14] gh-138966: Add description for gi_suspended attribute (GH-139008) (#139020)
Co-authored-by: Donghoon Nam <54799053+codenamenam@users.noreply.github.com>
2025-09-17 12:09:15 +03:00
Miss Islington (bot)
7bba99c611
[3.14] Revert "gh-118803: Remove ByteString from typing and collections.abc (GH-118804)" (GH-138990) (#138995)
Revert "gh-118803: Remove `ByteString` from `typing` and `collections.abc` (GH-118804)" (GH-138990)
(cherry picked from commit 530ddd3e06)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-09-17 09:08:15 +01:00
Miss Islington (bot)
62294eb4fc
[3.14] gh-54874: Expand unicodedata module documentation (GH-138301) (#138346)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
2025-09-16 16:55:59 +03:00
Miss Islington (bot)
35ce9a2867
[3.14] gh-137985: Correct description of Formatter's datefmt param in logging documentation (GH-138530) (#138565)
Co-authored-by: W. H. Wang <mattwang44@gmail.com>
2025-09-16 16:55:29 +03:00
Miss Islington (bot)
5210e307ae
[3.14] gh-138005: Document that CSV skipinitialspace=True and delimiter=' ' require quotation for empty fields (GH-138006) (#138798)
Co-authored-by: Maurycy Pawłowski-Wieroński <5383+maurycy@users.noreply.github.com>
2025-09-11 15:18:25 +00:00
Miss Islington (bot)
dd930baf45
[3.14] gh-138307: Update the Ellipsis documentation (GH-138306) (#138440)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2025-09-11 12:22:37 +03:00
Miss Islington (bot)
4ce4b82d35
[3.14] Docs: Fix typo in shutil.make_archive example (GH-138188) (#138195)
Co-authored-by: Andreas Pelme <andreas@pelme.se>
2025-09-11 12:20:28 +03:00
Miss Islington (bot)
7e0232895a
[3.14] gh-133125: Clarify ZipInfo.date_time attribute documentation (GH-136082) (#138077)
Co-authored-by: Kentaro Jay Takahashi <64148935+KentaroJay@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
2025-09-11 12:19:35 +03:00
Miss Islington (bot)
34afba4747
[3.14] Fix typo in logging docs (GH-137981) (#137983)
Co-authored-by: Maximilian Linhoff <maximilian.linhoff@cta-observatory.org>
2025-09-11 12:19:05 +03:00
Miss Islington (bot)
30588d5f91
[3.14] [docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935) (#137950)
Co-authored-by: PrinceNaroliya <naroliyaprince@gmail.com>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2025-09-11 12:18:43 +03:00
Miss Islington (bot)
39e024df8e
[3.14] gh-131885: Use positional-only markers for the `decimal` module (GH-131990) (#137902)
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-09-11 12:18:17 +03:00
Miss Islington (bot)
dcadc539fd
[3.14] Mention the "context manager" keyword in concurrent.futures documentation (GH-130976) (#137810)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2025-09-11 12:17:25 +03:00
Miss Islington (bot)
374b242efa
[3.14] gh-87281: Improve documentation for locale.setlocale() and locale.getlocale() (GH-137313) (#137722)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-09-11 12:16:18 +03:00
Miss Islington (bot)
4b093e1796
[3.14] gh-136672: Docs: Move Enum functions and add examples (GH-136791) (#137688)
Co-authored-by: RafaelWO <38643099+RafaelWO@users.noreply.github.com>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2025-09-11 12:15:55 +03:00
Miss Islington (bot)
735ac97e16
[3.14] gh-125897: Mark range function parameters as positional only (GH-125945) (#137652)
Co-authored-by: Konstantin Baikov <konstantin.baikov@gmail.com>
2025-09-11 12:15:24 +03:00
Miss Islington (bot)
7b4e0dc36a
[3.14] Replace "ordered arguments" with "positional arguments" in unittest.mock documentation (GH-137552) (#137553)
Co-authored-by: Tom Forbes <tom@tomforb.es>
2025-09-11 12:14:45 +03:00
Miss Islington (bot)
2bea4f0995
[3.14] Docs: Use the correct example module in warnings.rst (GH-137402) (#137492)
Co-authored-by: Mendel Feygelson <mfeygelson@gmail.com>
2025-09-11 12:14:21 +03:00
Miss Islington (bot)
badab2c1a9
[3.14] Docs: Fix typo in os.fwalk() example (GH-138486) (#138500)
Co-authored-by: William Andrea <22385371+wjandrea@users.noreply.github.com>
2025-09-11 11:50:32 +03:00
Miss Islington (bot)
7fba07a7a9
[3.14] Fix Windows path in venv docs (GH-138476) (#138477)
Co-authored-by: Zachary Ware <zach@python.org>
2025-09-11 11:50:01 +03:00
Miss Islington (bot)
829c81ae21
[3.14] GH-101100: Remove some entries from `nitpick_ignore` (GH-138464) (#138683)
* GH-101100: Remove some entries from ``nitpick_ignore`` (GH-138464)
(cherry picked from commit 22cb9ba8f9)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update check-warnings.py

---------

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-09-09 19:12:40 +03:00
Miss Islington (bot)
2162fcc51a
[3.14] gh-138577: Mention Unix-specific limitations of getpass.getpass(echo_char=...) (GH-138677) (#138696)
Co-authored-by: yagggi <fakepoet0101@gmail.com>
2025-09-09 13:00:36 +03:00
Miss Islington (bot)
161543f4f1
[3.14] annotationlib: add note on security to docs (GH-138508) (#138550)
annotationlib: add note on security to docs (GH-138508)
(cherry picked from commit 9158bcf86b)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-09-08 23:15:57 +03:00
Miss Islington (bot)
68e0abe8c1
[3.14] gh-138665: Move platform.invalidate_caches docs (GH-138667) (#138668)
Co-authored-by: Shamil <ashm.tech@proton.me>
2025-09-08 19:06:27 +03:00
Miss Islington (bot)
efac05a135
[3.14] gh-91116: Add hyperlink from sys.settrace to frame objects (GH-138062) (#138068)
Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
2025-09-08 17:59:24 +03:00
Miss Islington (bot)
0cf8ac2973
[3.14] gh-137668: Document that ord() supports also bytes and bytearray (GH-137669) (#137703)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-09-08 17:59:10 +03:00
Miss Islington (bot)
f23e7605b8
[3.14] Docs: Fix typo in test.support.linked_to_musl function name (GH-138406) (#138445)
Docs: Fix typo in test.support.linked_to_musl function name (GH-138406)
(cherry picked from commit 8ce4f28363)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2025-09-08 14:52:38 +03:00
Miss Islington (bot)
f153e32cba
[3.14] GH-138465: Improve documentation for common sequence methods (GH-138474) (#138560)
GH-138465: Improve documentation for common sequence methods (GH-138474)
(cherry picked from commit 8ed1d53e62)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-09-06 08:51:48 +03:00
Miss Islington (bot)
a264142ebf
[3.14] docs: add module-level versionadded for annotationlib (GH-138511) (#138512)
docs: add module-level `versionadded` for `annotationlib` (GH-138511)
(cherry picked from commit fc0305a2d8)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-09-05 11:03:04 +03:00
Bénédikt Tran
d574f83206
[3.14] gh-136134: imaplib: fix CRAM-MD5 on FIPS-only environments (GH-136615) (#138054) 2025-09-04 17:59:49 +03:00
Miss Islington (bot)
d7c5aa992e
[3.14] GH-101100: Resolve reference warnings in whatsnew/3.5.rst (GH-138412) (#138459)
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-09-03 18:46:35 +03:00
Miss Islington (bot)
d713788ad1
[3.14] GH-101100: Resolve reference warnings in whatsnew/2.7.rst (GH-138415) (#138441)
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-09-03 11:39:02 +00:00
Miss Islington (bot)
1e26fd0c4b
[3.14] GH-101100: Resolve reference warnings in whatsnew/3.8.rst (GH-138409) (#138437)
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-09-03 11:31:06 +00:00
Miss Islington (bot)
67b8320cef
[3.14] GH-101100: Resolve reference warnings in whatsnew/3.3.rst (GH-138414) (#138435)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-09-03 11:27:01 +00:00
Miss Islington (bot)
b0069f14af
[3.14] GH-101100: Resolve reference warnings in whatsnew/3.7.rst (GH-138410) (#138423)
GH-101100: Resolve reference warnings in whatsnew/3.7.rst (GH-138410)

Resolve reference warnings in whatsnew/3.7.rst
(cherry picked from commit dd86fb4ba5)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-09-03 06:26:29 +00:00
Miss Islington (bot)
da3850cfc2
[3.14] gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (GH-136612) (#138421)
gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (GH-136612)
(cherry picked from commit c22cc8fccd)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2025-09-03 09:17:45 +03:00
Miss Islington (bot)
a37a382f78
[3.14] gh-133829: Remove some specifics from the `zipimport` example (GH-133835) (#138274)
Co-authored-by: R Chintan Meher <meherrihaan@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-08-31 09:44:56 +03:00
Miss Islington (bot)
c35222aae1
[3.14] gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation (gh-122844) (#138244)
Co-authored-by: Hang <bebound@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
2025-08-30 00:13:09 +03:00
Miss Islington (bot)
769f58a828
[3.14] gh-101359: clarify docs for asyncio.Event.clear (GH-137849) (#137850)
gh-101359: clarify docs for `asyncio.Event.clear` (GH-137849)
(cherry picked from commit 4b2dbe8e0a)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-08-29 07:37:39 +03:00
Miss Islington (bot)
d3f7bb067c
[3.14] gh-90483: fix docs of SubprocessTransport.get_pipe_transport (GH-137852) (#137853)
gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (GH-137852)
(cherry picked from commit 038a6e3b95)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-08-29 07:25:55 +03:00
Miss Islington (bot)
7a6d8d4c95
[3.14] gh-137526: Fix broken link to drdobbs journal in difflib.rst (GH-137527) (#137531)
Co-authored-by: Sebastien Williams-Wynn <s.williamswynn.mail@gmail.com>
2025-08-27 17:02:26 +03:00
Miss Islington (bot)
27a2152a9b
[3.14] gh-44538: Mention nested classes/functions in doctest docs (GH-137870) (#137918)
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
2025-08-27 17:01:55 +03:00