Miss Islington (bot)
6b63d40919
[3.11] gh-110497: Add note about OSError being an alias to IOError in docs (GH-110498) ( #110545 )
...
gh-110497: Add note about `OSError` being an alias to `IOError` in docs (GH-110498)
(cherry picked from commit 5e7edac771 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-09 11:42:01 +02:00
Miss Islington (bot)
3d5aa7ec61
[3.11] Fix typo in Doc/library/textwrap.rst (GH-110328) ( #110474 )
...
Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
2023-10-06 14:35:23 +00:00
Miss Islington (bot)
a55c203104
[3.11] gh-110383: Swap 'the all' -> 'all the' in socket docs (GH-110434) ( #110436 )
...
Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
2023-10-05 14:14:32 -06:00
Adam Turner
8394368f1f
[3.11] Docs: Avoid the deprecated `.. cmdoption::` directive (GH-110292) ( #110303 )
...
[3.11] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292).
(cherry picked from commit 77e9aae383 )
2023-10-05 20:30:26 +03:00
Miss Islington (bot)
6a6081f820
[3.11] gh-110383 TimeIt Docs Spelling Fix (GH-110407) ( #110410 )
...
gh-110383 TimeIt Docs Spelling Fix (GH-110407)
Make 0.2 second plural
(cherry picked from commit a973bf0f97 )
Co-authored-by: Towster15 <105541074+Towster15@users.noreply.github.com>
2023-10-05 17:10:39 +00:00
Victor Stinner
f9ac377626
[3.11] Add test.support.busy_retry() ( #93770 ) ( #110341 )
...
Add test.support.busy_retry() (#93770 )
Add busy_retry() and sleeping_retry() functions to test.support.
(cherry picked from commit 7e9eaad864 )
2023-10-04 12:58:49 +02:00
Miss Islington (bot)
6a6e8871ba
[3.11] gh-109234: Hint to contextlib.closing in sqlite3 context manager docs (GH-109322) ( #110294 )
...
(cherry picked from commit 4227bfa8b2 )
Co-authored-by: Lincoln <71312724+Lincoln-developer@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2023-10-03 16:02:04 +00:00
Miss Islington (bot)
bf6843e91f
[3.11] [3.12] gh-109649: Enhance os.cpu_count() documentation (GH-110169) ( #110226 )
...
[3.12] gh-109649: Enhance os.cpu_count() documentation (GH-110169)
* gh-109649: Enhance os.cpu_count() documentation
* Doc: Specify that os.cpu_count() counts *logicial* CPUs.
* Doc: Specify that os.sched_getaffinity(0) is related to the calling
thread.
* Fix test_posix.test_sched_getaffinity(): restore the old CPU mask
when the test completes!
* Restore removed text
(cherry picked from commit 5245b97e13 )
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-10-02 18:36:55 -07:00
Miss Islington (bot)
0914b13ba5
[3.11] gh-110138: Improve grammar in idiomatic usage of `__main__.py` (GH-110142) ( #110189 )
...
gh-110138: Improve grammar in idiomatic usage of ``__main__.py`` (GH-110142)
(cherry picked from commit adf0f15a06 )
Co-authored-by: Quentin Agren <quentin.agren@gmail.com>
2023-10-01 20:32:44 +01:00
Miss Islington (bot)
00da3ccd0a
[3.11] gh-101100: Fix sphinx warnings in library/site.rst (GH-110144) ( #110185 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-01 11:47:06 -06:00
Miss Islington (bot)
cb1f49991e
[3.11] GH-101100: Fix reference warnings for `gettext` (GH-110115) ( #110141 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-30 11:21:27 +00:00
Hugo van Kemenade
6bc722df2e
[3.11] gh-101100: Fix sphinx warnings in library/difflib.rst (GH-110074) ( #110082 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-29 11:19:34 +03:00
Serhiy Storchaka
c534637106
[3.11] gh-109634: Use :samp: role (GH-109635) (GH-109778)
...
(cherry picked from commit 92af0cc580 )
Co-authored-by: Jacob Coffee <jacob@z7x.org>
2023-09-29 09:39:31 +03:00
Miss Islington (bot)
38526a29ed
[3.11] Enhance TypedDict docs around required/optional keys (GH-109547) ( #109983 )
...
As discussed in comments to GH-109544, the semantics of this attribute
are somewhat confusing. Add a note explaining its limitations and
steering users towards __required_keys__ and __optional_keys__ instead.
(cherry picked from commit f49958c886 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-27 10:54:27 -07:00
Miss Islington (bot)
cb0f41f232
[3.11] gh-101100: Fix sphinx warnings in library/devmode.rst (GH-109963) ( #109967 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-27 17:16:01 +03:00
Miss Islington (bot)
3ab0621db7
[3.11] gh-101100: Fix Sphinx warnings in Doc/library/weakref.rst (GH-109881) ( #109883 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-26 10:58:59 +03:00
Miss Islington (bot)
e6a9cbd114
[3.11] gh-101100: Fix sphinx warnings in Doc/library/xml.etree.elementtree.rst (GH-109799) ( #109801 )
...
gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst` (GH-109799)
(cherry picked from commit 649768fb67 )
gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst`
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-24 10:02:07 +00:00
Alex Waygood
a023de65fc
[3.11] Fix typos in docs and comments ( #109619 ) ( #109622 )
...
Co-authored-by: Heinz-Alexander Fuetterer <35225576+afuetterer@users.noreply.github.com>
2023-09-20 17:50:48 +00:00
Victor Stinner
336dbe56b2
[3.11] gh-108973: Fix asyncio SubprocessProtocol doc ( #109431 ) ( #109610 )
...
gh-108973: Fix asyncio SubprocessProtocol doc (#109431 )
SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the example in the doc.
Co-authored-by: Davide Rizzo <sorcio@gmail.com>
(cherry picked from commit ced6924630 )
2023-09-20 14:15:08 +00:00
Miss Islington (bot)
355a5cd262
[3.11] Fix extraneous backslashes in hashlib docs (GH-109468) ( #109531 )
...
Fix extraneous backslashes in hashlib docs (GH-109468)
(cherry picked from commit ce5b3e19e6 )
Co-authored-by: Anthony Sottile <asottile@umich.edu>
2023-09-18 07:34:20 +00:00
Miss Islington (bot)
9b38cbee90
[3.11] gh-109451: Fix wrong format specifier in logging documentation (GH-109465) (GH-109482)
...
(cherry picked from commit 929cc4e4a0 )
2023-09-16 15:39:06 +01:00
Miss Islington (bot)
e16a9af1cd
[3.11] gh-109414: Add some basic information about venvs in the introduction. (GH-109440) (GH-109480)
...
(cherry picked from commit a6846d45ff )
2023-09-16 11:14:07 +01:00
Miss Islington (bot)
5a2550554b
[3.11] Docs: Superseded modules: list only module names (GH-109439) ( #109446 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-15 16:10:07 +03:00
Miss Islington (bot)
8e23cd0bbb
[3.11] gh-101100: Fix sphinx warnings in turtle.rst (GH-109394) ( #109417 )
...
(cherry picked from commit 21e80f4c19 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-14 14:41:26 -04:00
Irit Katriel
5681cd1a9d
[3.11] gh-109184: update traceback module doc w.r.t notes (message is no longer always at the end) ( #109201 ) ( #109336 )
...
gh-109184: update traceback module doc w.r.t notes (message is no longer always at the end) (#109201 )
(cherry picked from commit 0e76cc359b )
2023-09-12 18:08:38 +01:00
Miss Islington (bot)
0e2d67457b
[3.11] gh-107322: zipapp: Remove the suggestion to remove .dist-info directories (GH-107296) ( #109282 )
...
Co-authored-by: wim glenn <hey@wimglenn.com>
2023-09-11 23:53:15 -06:00
Hugo van Kemenade
77356f6f96
[3.11] gh-107924: re-order os.sendfile() flag documentation ( #107926 ) ( #109178 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2023-09-09 03:34:18 -06:00
Miss Islington (bot)
d9d64a4a13
[3.11] gh-102823: Document return type of floor division on floats (GH-102824) ( #109093 )
...
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 14:34:30 +00:00
Miss Islington (bot)
297006b6f8
[3.11] gh-71770: Add more details on behavior of configparser's default_section (GH-31562) ( #109089 )
...
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 14:03:20 +00:00
Miss Islington (bot)
417a7b5b10
[3.11] GH-90915: Document that SystemExit doesn't trigger sys.excepthook (GH-31357) ( #109083 )
...
Co-authored-by: Colin Watson <cjwatson@debian.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 13:23:08 +00:00
Miss Islington (bot)
cccb81d294
[3.11] socket documentation fix - rename triple to 3-tuple (GH-24722) ( #109074 )
...
Co-authored-by: Ori Hoch <ori@uumpa.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 13:44:35 +03:00
Miss Islington (bot)
f6d70e9a18
[3.11] bpo-38157: Add example about per file output for mock_open. (GH-16090) ( #109072 )
...
Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 12:32:28 +03:00
Miss Islington (bot)
1f115a8822
[3.11] gh-107755: Document the correct default value of slice step (GH-107756) ( #108956 )
...
gh-107755: Document the correct default value of slice step (GH-107756)
Document the correct default value of slice step.
(cherry picked from commit 9bf350b066 )
Co-authored-by: wim glenn <hey@wimglenn.com>
2023-09-07 02:11:53 +02:00
Miss Islington (bot)
5fbd77165b
[3.11] GH-108202: Document `calendar`'s command-line interface (GH-109020) ( #109031 )
...
GH-108202: Document ``calendar``'s command-line interface (GH-109020)
(cherry picked from commit f0f96a9f40 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-07 02:11:06 +02:00
Miss Islington (bot)
2ef888d250
[3.11] gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862) ( #108970 )
...
gh-108857: improve markup in inspect.Signature.replace() docs (GH-108862)
(cherry picked from commit 6f8411cfd6 )
Co-authored-by: nabin2004 <107109731+nabin2004@users.noreply.github.com>
2023-09-06 00:39:09 +00:00
Nikita Sobolev
662d236be2
[3.11] gh-101100: Fix sphinx warnings in unittest.mock-examples.rst (GH-108810) ( #108812 )
...
(cherry picked from commit 5141b1ebe0 )
2023-09-02 13:38:59 +00:00
Miss Islington (bot)
fa8b9c147d
[3.11] gh-101100: Fix sphinx warnings in uuid.rst (GH-108805) ( #108808 )
...
(cherry picked from commit 21da4980f5 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 07:05:07 -06:00
Miss Islington (bot)
0701f8cabd
[3.11] gh-105563: reference DateType in datetime's documentation (GH-105946) ( #108790 )
...
gh-105563: reference DateType in datetime's documentation (GH-105946)
(cherry picked from commit 8f9ea43ee8 )
Co-authored-by: TATHAGATA ROY <royzen9495@gmail.com>
2023-09-01 20:46:21 +00:00
Gregory P. Smith
6ba1234c1c
[3.11] gh-104372: Drop the GIL around the vfork() call. ( #104782 ) ( #104958 )
...
gh-104372: Drop the GIL around the vfork() call. (#104782 )
On Linux where the `subprocess` module can use the `vfork` syscall for
faster spawning, prevent the parent process from blocking other threads
by dropping the GIL while it waits for the vfork'ed child process `exec`
outcome. This prevents spawning a binary from a slow filesystem from
blocking the rest of the application.
Fixes #104372 .
(cherry picked from commit d08679212d )
2023-09-01 08:53:06 +00:00
Miss Islington (bot)
b4784b0c5f
[3.11] ast docs: Fix incorrect link on keyword (GH-108728) ( #108738 )
...
`ast` docs: Fix incorrect link on `keyword` (GH-108728)
In two places, Sphinx was erroneously adding links to the `keyword` module instead of the `ast.keyword` class
(cherry picked from commit c1e2f3b2f7 )
Co-authored-by: Alex Povel <git@alexpovel.de>
2023-08-31 22:27:27 +00:00
Miss Islington (bot)
e93f57208f
[3.11] gh-101100: Fix sphinx warnings in threading.rst (GH-108684) ( #108708 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-31 11:28:47 +03:00
Miss Islington (bot)
d06aaff19d
[3.11] Fix typo in multiprocessing docs (GH-108666) ( #108676 )
...
Fix typo in multiprocessing docs (GH-108666)
(cherry picked from commit 38ab0dba80 )
Co-authored-by: kato8966 <66937409+kato8966@users.noreply.github.com>
2023-08-30 11:17:23 +00:00
Miss Islington (bot)
a2c05a414d
[3.11] Mention Ellipsis pickling in the docs (GH-103660) ( #108662 )
...
Mention Ellipsis pickling in the docs (GH-103660)
(cherry picked from commit 14ec0bb7c3 )
Co-authored-by: sterliakov <50529348+sterliakov@users.noreply.github.com>
2023-08-29 23:04:42 -07:00
Erlend E. Aasland
d79216d48f
[3.11] gh-107801: Improve the accuracy of io.IOBase.seek docs ( #108268 ) ( #108656 )
...
(cherry picked from commit 8178a88bd8 )
- Add param docstrings
- Link to os.SEEK_* constants
- Mention the return value in the initial paragraph
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-29 19:57:49 +00:00
Alex Waygood
b1ed10f413
[3.11] Fix misc doc typos (GH-108592) ( #108613 )
...
(cherry picked from commit 88f1c5b )
Co-authored-by: xzmeng <aumo@foxmail.com>
2023-08-29 08:56:14 +00:00
Miss Islington (bot)
c19713d4a1
[3.11] Fix typo in typing docs: Remove redundant backtick (GH-108559) ( #108561 )
...
Fix typo in typing docs: Remove redundant backtick (GH-108559)
(cherry picked from commit 72b615ab01 )
Co-authored-by: nikkie <takuyafjp+develop@gmail.com>
2023-08-28 11:28:19 +00:00
Erlend E. Aasland
bd951cd95b
[3.11] gh-107801: Document io.TextIOWrapper.tell ( #108265 ) ( #108548 )
...
(cherry picked from commit 38afa4af9b )
2023-08-27 21:22:43 +00:00
Miss Islington (bot)
c8e66c47da
[3.11] Fix grammatical error in stringprep documentation (GH-108414) ( #108538 )
...
Fix grammatical error in stringprep documentation (GH-108414)
Remove the word "them", which didn't make grammatical sense.
(cherry picked from commit cd0a8aece9 )
Co-authored-by: Matthew James Kraai <kraai@ftbfs.org>
Co-authored-by: KRAAI, MATTHEW [VISUS] <mkraai@its.jnj.com>
2023-08-27 14:12:51 +01:00
Miss Islington (bot)
8a275f7c01
[3.11] gh-105052:update timeit function's description (GH-105060) ( #108535 )
...
---------
Co-authored-by: Terry Jan Reedy tjreedy@udel.edu
Co-authored-by: R <cherrymelon@foxmail.com>
(cherry picked from commit 7096a2be33 )
2023-08-27 03:57:32 -04:00
Miss Islington (bot)
a44dcfde18
[3.11] gh-107453: Document errno.{ECANCELED,EOWNERDEAD,ENOTRECOVERABLE,ENOTSUP} (GH-107486) ( #108530 )
...
Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-26 23:33:23 -06:00