Miss Islington (bot)
2b5dbd1f23
Doc: Fix broken link to emscripten networking website (GH-99531)
...
There was an extra `>` in the url.
(cherry picked from commit ed206e39f0 )
Co-authored-by: Alexander Ryabov <73594+haron@users.noreply.github.com>
2023-04-19 07:37:14 -07:00
Miss Islington (bot)
5a81a24c8b
gh-103582: Remove last references to argparse.REMAINDER from docs (GH-103586)
...
(cherry picked from commit f4d087964e )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-04-18 22:14:53 -07:00
Miss Islington (bot)
1dad3d1071
GH-103484: Docs: add linkcheck allowed redirects entries for most cases (GH-103569)
...
(cherry picked from commit f39e00f952 )
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-04-17 20:06:52 -07:00
Miss Islington (bot)
4c4ef50ec2
GH-83893: Cross reference env. vars and -X command line options (GH-103414)
...
(cherry picked from commit d65ed693a8 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Erlend E. Aasland
2023-04-16 16:09:50 -07:00
Ethan Furman
3b929a7b32
[3.11] gh-103479: [Enum] require __new__ to be considered a data type (GH-103495) (GH-103514)
...
a mixin must either have a __new__ method, or be a dataclass, to be interpreted as a data-type; an __init__ method is not enough (restores pre-3.11 behavior for non-dataclasses).
(cherry picked from commit a6f95941a3 )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2023-04-13 12:04:06 -07:00
Miss Islington (bot)
804a973d8e
gh-103365: [Enum] STRICT boundary corrections (GH-103494)
...
STRICT boundary:
- fix bitwise operations
- make default for Flag
(cherry picked from commit 2194071540 )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2023-04-13 08:55:53 -07:00
Miss Islington (bot)
e643412ef4
gh-103417: use time.monotonic in the example for sched.scheduler (GH-103418)
...
(cherry picked from commit f2b7ecb778 )
Co-authored-by: Nick Burns <nburns@users.noreply.github.com>
2023-04-12 02:09:08 -07:00
Miss Islington (bot)
b5fe28dace
gh-103237: Polish pdb docs (GH-103238)
...
(cherry picked from commit 449bf2a76b )
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
2023-04-11 23:26:33 -07:00
Miss Islington (bot)
e715da6db1
gh-87864: Use correct function definition syntax in the docs (GH-103312)
...
(cherry picked from commit 50b4b15984 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-04-11 07:19:33 -07:00
Miss Islington (bot)
07a2851edb
gh-103373: __mro_entries__ docs: improve cross references (GH-103398)
...
(cherry picked from commit e071f00aae )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-11 03:34:46 -07:00
Miss Islington (bot)
a836d79111
Docs: don't render files in includes/, they're for embedding only (GH-103313)
...
(cherry picked from commit 280bd536b5 )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-04-10 23:26:07 -07:00
Miss Islington (bot)
4a05392adb
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (GH-103421)
...
(cherry picked from commit 75b6ab80da )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-10 21:07:21 -07:00
Miss Islington (bot)
b80e4c89d8
[3.11] gh-103059: Clarify gc.freeze documentation (GH-103058) ( #103416 )
...
gh-103059: Clarify gc.freeze documentation (GH-103058)
(cherry picked from commit 8b1b17134e )
Co-authored-by: raylu <lurayl@gmail.com>
2023-04-10 11:17:48 -06:00
Miss Islington (bot)
77359a86b8
gh-103373: Improve documentation for __mro_entries__ (GH-103374)
...
(cherry picked from commit 0ba0ca05d2 )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-08 07:16:43 -07:00
Miss Islington (bot)
7b03d0f7c5
gh-100574: add examples/links to the strptime/strftime docs (GH-100575)
...
(cherry picked from commit 3310b94d3d )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-04-08 01:56:31 -07:00
Miss Islington (bot)
31bec9198b
Docs: use Node.findall to avoid a deprecation warning (GH-99403)
...
(cherry picked from commit 1e9dfdacef )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-04-08 01:24:27 -07:00
Miss Islington (bot)
bbe04d9d1c
gh-103266: Fix a typo in example code for bisect() function (GH-103267)
...
(cherry picked from commit f0424ba4b6 )
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2023-04-06 17:45:07 -07:00
Ethan Furman
58e330ac9c
[3.11] gh-93910: [Enum] remove member.member deprecation (GH-103236) (GH-103299)
...
i.e. Color.RED.BLUE is now officially supported..
(cherry picked from commit 4ec8dd10bd )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2023-04-05 21:29:14 -07:00
Miss Islington (bot)
09fb27fa51
gh-102899: Fix doc link for getting filesystem error handler (GH-102901)
...
(cherry picked from commit fdd0fff277 )
Co-authored-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-04-05 08:03:47 -07:00
Miss Islington (bot)
9357fc9b89
gh-81762: Clarify and simplify description of print's flush param (GH-103264)
...
(cherry picked from commit c396b6ddf3 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-05 04:49:08 -07:00
Miss Islington (bot)
6258c3cd53
Improve some grammar in the socket docs (GH-103254)
...
(cherry picked from commit bceb9e00ad )
Co-authored-by: Tim Burke <tim.burke@gmail.com>
2023-04-04 15:54:37 -07:00
Miss Islington (bot)
cf72cc25f6
gh-98298, gh-74730: [Enum] update docs (GH-103163)
...
fix FlagBoundary statements
add warning about reloading modules and enum identity
(cherry picked from commit 5ffc1e5a21 )
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2023-04-03 15:27:33 -07:00
Miss Islington (bot)
823622212e
gh-102994: Profile docs has typo in example (GH-103074)
...
(cherry picked from commit 55decb72c4 )
Co-authored-by: Nouran Ali <nouranalimohammed@gmail.com>
2023-04-02 15:52:11 -07:00
Miss Islington (bot)
0854bdf15f
gh-103109: Document ignore_warnings() test support helper (GH-103110)
...
(cherry picked from commit 32937d6aa4 )
Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-02 15:42:43 -07:00
Miss Islington (bot)
4664a7cf68
Quote literal tokens in standard format specifier grammar (GH-102902)
...
Reported by Damian Dureck: https://mail.python.org/archives/list/docs@python.org/thread/UZTWBJIXC3MBKTHXVTIBPGDPKBNWZ5LN/
(cherry picked from commit f6405a4662 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2023-03-31 05:52:52 -07:00
Miss Islington (bot)
41e3ea1396
Minor docs improvements fix for codeop (GH-103123)
...
(cherry picked from commit c1e71ce56f )
Co-authored-by: gaogaotiantian <gaogaotiantian@hotmail.com>
2023-03-30 15:58:54 -07:00
Miss Islington (bot)
1b40618247
gh-103099: Link mypy docs from typing.rst (GH-103100)
...
(cherry picked from commit fda95aa194 )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2023-03-30 01:39:49 -07:00
Miss Islington (bot)
d189e2db0b
[3.11] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635) (GH-103106)
...
(cherry picked from commit d835b3f05d )
Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
2023-03-29 10:04:53 +01:00
Miss Islington (bot)
e1094c6e6a
Update pdb docs for arguments (GH-102965)
...
(cherry picked from commit 027223db96 )
Co-authored-by: gaogaotiantian <gaogaotiantian@hotmail.com>
2023-03-25 14:42:28 -07:00
Miss Islington (bot)
aae91fa63c
[3.11] gh-103025: fix a ctypes doc typo (GH-103026) ( #103029 )
...
* gh-103025: fix two ctypes doc issues (GH-103026)
(cherry picked from commit 0708437ad0 )
Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
2023-03-25 10:00:44 +00:00
Hugo van Kemenade
85c686a1a5
[3.11] gh-101100: Document PyObject_ClearWeakRefs, gzip's name, and asyncio.iscoroutine ( #103001 )
2023-03-25 09:43:52 +02:00
Miss Islington (bot)
c834a4c713
gh-102873: logging.LogRecord docs: improve description of msg parameter (GH-102875)
...
(cherry picked from commit f2e5a6ee62 )
Co-authored-by: Amin Alaee <mohammadamin.alaee@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-24 08:08:48 -07:00
Miss Islington (bot)
e075631f67
[3.11] gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (GH-96932) ( #102918 )
...
gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (GH-96932)
(cherry picked from commit af9c34f6ef )
Co-authored-by: Benjamin Fogle <benfogle@gmail.com>
2023-03-24 13:33:24 +01:00
Miss Islington (bot)
60b2b58f87
[3.11] Minor readability improvement to the factor() recipe (GH-102971) (GH-102972)
2023-03-23 14:56:35 -05:00
Miss Islington (bot)
202e16ea05
gh-98239: Document that inspect.getsource() can raise TypeError (GH-101689)
...
(cherry picked from commit b6132085ca )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-03-23 12:42:54 -07:00
Miss Islington (bot)
e2924c0ee5
gh-102936: typing: document performance pitfalls of protocols decorated with @runtime_checkable (GH-102937)
...
(cherry picked from commit 58d2b30c01 )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-23 11:27:28 -07:00
Miss Islington (bot)
84ae50c914
gh-102810 Improve the sphinx docs for asyncio.Timeout (GH-102934)
...
(cherry picked from commit f13fdacadf )
Co-authored-by: JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-23 09:52:43 -07:00
Miss Islington (bot)
f79cfb6625
[doc] Fix error in tutorial example: type(exc) is the type rather than the instance (GH-102751)
...
(cherry picked from commit 8709697292 )
Co-authored-by: Jens-Hilmar Bradt <17177271+jenshb@users.noreply.github.com>
2023-03-22 11:51:48 -07:00
Miss Islington (bot)
a9ece4a839
gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)
...
Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set
in the `__cause__` field rather than in the `__context__` field.
(cherry picked from commit 04adf2df39 )
Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 11:23:47 -07:00
Miss Islington (bot)
f1b96737a4
gh-102921: [doc] Clarify exc argument name in BaseExceptionGroup is plural (GH-102922)
...
(cherry picked from commit 9b19d3936d )
Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
2023-03-22 11:21:59 -07:00
Miss Islington (bot)
4c1b4eccba
gh-95913: Consolidate build requirements changes in 3.11 WhatsNew (GH-98781)
...
Apply suggestion to combine build requirements changes in 3.11 WhatsNew
(cherry picked from commit 4a3ea1fdd8 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2023-03-22 06:53:22 -07:00
Miss Islington (bot)
592c34469b
Docs: improve accuracy of sqlite3.Connection.interrupt() (GH-102904)
...
(cherry picked from commit 7b2d53dacc )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-03-22 05:00:25 -07:00
Miss Islington (bot)
9a1453b651
Docs: improve the accuracy of the sqlite3.connect() timeout param (GH-102900)
...
(cherry picked from commit c24f1f1e87 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-03-22 04:49:46 -07:00
Miss Islington (bot)
44782d3d34
Docs: improve accuracy of pdb alias example (GH-102892)
...
(cherry picked from commit e0c63b7267 )
Co-authored-by: gaogaotiantian <gaogaotiantian@hotmail.com>
2023-03-22 04:44:21 -07:00
Miss Islington (bot)
a7a373e1c5
[3.11] gh-102595: Document PyObject_Format c-api function (GH-102596) (GH-102879)
...
(cherry picked from commit 910a64e301 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Def: https://github.com/python/cpython/blame/5ffdaf748d98da6065158534720f1996a45a0072/Include/abstract.hGH-L389
Automerge-Triggered-By: GH:encukou
2023-03-22 02:32:02 -07:00
Miss Islington (bot)
1eb9b24929
Add link to sys.exit function documentation (GH-102805)
...
* Add link to `sys.exit` function documentation
* Update Doc/library/os.rst
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Update Doc/library/os.rst
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
---------
(cherry picked from commit 41ef502d74 )
Co-authored-by: David Poirier <1152277+david-poirier@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-03-21 15:06:10 -07:00
Raymond Hettinger
e6e3b1b27d
[3.11] Backport itertool recipe updates (GH-102881)
2023-03-21 13:44:32 -05:00
Miss Islington (bot)
df399a35d5
[3.11] Fix outdated note about 'int' rounding or truncating (GH-102736) ( #102766 )
...
Fix outdated note about 'int' rounding or truncating (GH-102736)
(cherry picked from commit 405739f916 )
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
2023-03-16 20:42:54 +00:00
Miss Islington (bot)
4a7faac557
GH-102653: Make recipe docstring show the correct distribution (GH-102742)
...
(cherry picked from commit b0ec6253c9 )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2023-03-16 07:42:23 -07:00
Miss Islington (bot)
3ddf397217
gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)
...
(cherry picked from commit 61b9ff35cb )
Co-authored-by: Julien Palard <julien@palard.fr>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2023-03-15 15:13:48 -07:00