Serhiy Storchaka
9a12c23fe4
[3.11] gh-111165: Remove documentation for moved functions (GH-111467) (GH-111472)
...
(cherry picked from commit 4d6bdf8aab )
2023-10-29 19:45:51 +00:00
Miss Islington (bot)
a10fc6670b
[3.11] gh-101100: Fix sphinx warnings in library/asyncio-eventloop.rst (GH-111222) ( #111470 )
...
gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` (GH-111222)
* gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst`
* Update Doc/library/socket.rst
* Update asyncio-eventloop.rst
* Update socket.rst
---------
(cherry picked from commit 46389c3275 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-29 19:39:25 +00:00
Miss Islington (bot)
e84b06c05a
[3.11] gh-111406: Fix broken link to bpython's site (GH-111407) ( #111409 )
...
gh-111406: Fix broken link to bpython's site (GH-111407)
(cherry picked from commit 8a158a753c )
Co-authored-by: Zack Cerza <zack@cerza.org>
2023-10-27 18:45:52 +00:00
Miss Islington (bot)
a9e0455bd3
[3.11] gh-111276: Clarify docs and comments about the role of LC_CTYPE (GH-111319) ( #111392 )
...
Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0:
https://docs.python.org/2/library/string.htmlGH-deprecated-string-functions
Also, fix a comment in logging about locale-specific behavior of `str.lower()`.
(cherry picked from commit 6d42759c5e )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-27 17:15:15 +02:00
Hugo van Kemenade
e7cdcccd26
[3.11] gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 (GH-111188) ( #111326 )
2023-10-27 16:08:53 +03:00
Miss Islington (bot)
07664c9ddb
[3.11] gh-108590: Improve sqlite3 docs on encoding issues and how to handle those (GH-108699) ( #111325 )
...
Add a guide for how to handle non-UTF-8 text encodings.
Link to that guide from the 'text_factory' docs.
(cherry picked from commit 1262e41842 )
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Corvin <corvin@corvin.dev>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-10-25 14:07:44 +00:00
Serhiy Storchaka
fc9a5ef1a8
[3.11] [3.12] gh-111165: Move test running code from test.support to libregrtest (GH-111166) (GH-111316) (GH-111318)
...
Remove no longer used functions run_unittest() and run_doctest() from
the test.support module.
(cherry picked from commit f6a45a03d0 )
(cherry picked from commit 5c4f9a1c7e )
2023-10-25 12:37:19 +00:00
Miss Islington (bot)
ff7dc61643
[3.11] Revert "Fix a code snippet typo in asyncio docs (GH-108427)" (GH-111271) (GH-111273)
...
Revert "Fix a code snippet typo in asyncio docs (GH-108427)" (GH-111271)
This reverts commit 7f31676340 .
The change resulted in a tautology and should not have been made. There
may be an opportunity for additional clarity in this section, but this
change wasn't it :)
(cherry picked from commit c7d68f907a )
Ref: https://github.com/python/cpython/pull/108427#-issuecomment-1777525740
Co-authored-by: Zachary Ware <zach@python.org>
2023-10-24 11:26:57 -05:00
Jelle Zijlstra
575bff3732
[3.11] gh-111151: Convert monospaced directives to :ref: (GH-111152) ( #111270 )
...
(cherry picked from commit 1198076447 )
Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
2023-10-24 15:34:46 +00:00
Miss Islington (bot)
10376a164f
[3.11] Fix typo in sys docs (GH-111196) ( #111249 )
...
Co-authored-by: James Tocknell <aragilar+github@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-24 08:15:03 +00:00
Miss Islington (bot)
e35393fde9
[3.11] Fix a code snippet typo in asyncio docs (GH-108427) ( #111244 )
...
Co-authored-by: A <5249513+Dumeng@users.noreply.github.com>
2023-10-24 06:35:49 +00:00
Miss Islington (bot)
bf41dcda70
[3.11] gh-101100: Fix Sphinx warnings for fileno (GH-111118) ( #111227 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-23 19:18:00 +00:00
Miss Islington (bot)
09bd752d94
[3.11] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) ( #111220 )
...
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2023-10-23 16:09:56 +00:00
Miss Islington (bot)
a449a70bcb
[3.11] typo: missing line of output in pull parser example (GH-111068) ( #111218 )
...
Co-authored-by: Don Patterson <37046246+don-patterson@users.noreply.github.com>
2023-10-23 16:04:52 +00:00
Miss Islington (bot)
135d5c5840
[3.11] gh-106310 - document the __signature__ attribute (GH-106311) ( #111146 )
...
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-23 18:49:17 +03:00
Miss Islington (bot)
0a23960266
[3.11] gh-110383: Italicize variable name (GH-111206) ( #111208 )
...
Co-authored-by: Nick <Nikki1993@users.noreply.github.com>
2023-10-23 11:11:54 +03:00
Miss Islington (bot)
6020a3e736
[3.11] gh-110383: Added explanation about simplest regex use case for quantifiers. (GH-111110) ( #111205 )
...
Co-authored-by: Nick <Nikki1993@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-23 07:31:32 +00:00
Miss Islington (bot)
aaa755dd48
[3.11] gh-101100: Fix sphinx warnings in library/asyncio-dev.rst (GH-111179) ( #111186 )
...
gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst`
* Update Doc/library/asyncio-eventloop.rst
* Update Doc/library/asyncio-eventloop.rst
---------
(cherry picked from commit 8c689c9b88 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2023-10-22 10:29:06 -07:00
Miss Islington (bot)
d0502a9c67
[3.11] gh-101100: Fix Sphinx warning in tutorial/introduction.rst (GH-111173) ( #111176 )
...
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (GH-111173)
(cherry picked from commit 663cf513b0 )
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
2023-10-22 12:03:39 +00:00
Miss Islington (bot)
6df935c212
[3.11] gh-101100: Fix sphinx warnings in library/codecs.rst (GH-110979) ( #111071 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-20 11:09:23 +03:00
Miss Islington (bot)
f1dbde0d3a
[3.11] gh-101100: Fix Sphinx warnings in library/tty.rst (GH-111079) ( #111098 )
...
gh-101100: Fix Sphinx warnings in `library/tty.rst` (GH-111079)
Fix Sphinx warnings in library/tty.rst
(cherry picked from commit c42c68aa7b )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-20 07:50:17 +03:00
Miss Islington (bot)
2b3f9a5a1d
[3.11] gh-109510: Clearly explain "Which Docstrings Are Examined" (GH-109696) ( #111078 )
...
Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-19 18:35:07 +03:00
Miss Islington (bot)
f22cdecb19
[3.11] GH-101100: Fix reference warnings for `__enter__ and __exit__` (GH-110112) ( #111076 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-19 18:34:27 +03:00
Miss Islington (bot)
1b60244b97
[3.11] GH-101100: Fix reference warnings for `__getitem__` (GH-110118) ( #111074 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-19 18:33:12 +03:00
Miss Islington (bot)
4fc5352a0d
[3.11] gh-101100: Fix sphinx warnings in library/getpass.rst (GH-110461) ( #111072 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-19 18:31:29 +03:00
Miss Islington (bot)
faa7c207bf
[3.11] GH-104232: Fix statement about trace return values (GH-111045)
...
(cherry picked from commit d9246c7b73 )
2023-10-18 20:34:20 +00:00
Miss Islington (bot)
72131d0610
[3.11] Regen Doc/requirements-oldest-sphinx.txt (GH-111012) ( #111021 )
...
Regen Doc/requirements-oldest-sphinx.txt (GH-111012)
Fix https://github.com/python/cpython/security/dependabot/4 : use
urllib3 version 2.0.7.
(cherry picked from commit e7ae43ad7d )
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-10-18 04:30:39 +00:00
Miss Islington (bot)
e8eb2bf788
[3.11] C-API docs: Clarify the size of arenas (GH-110895) ( #110947 )
...
C-API docs: Clarify the size of arenas (GH-110895)
Clarify the size of arenas
From 3.10.0 alpha 7, the pymalloc allocator uses arenas with a fixed size of 1
MiB on 64-bit platforms instead of 256 KiB on 32-bit platforms.
(cherry picked from commit f07ca27709 )
Co-authored-by: Mienxiu <82512658+mienxiu@users.noreply.github.com>
2023-10-16 19:06:34 +00:00
Miss Islington (bot)
616862d58e
[3.11] gh-110527: Improve PySet_Clear docs (GH-110528) ( #110927 )
...
gh-110527: Improve `PySet_Clear` docs (GH-110528)
(cherry picked from commit bfc1cd8145 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-16 13:15:07 +00:00
Miss Islington (bot)
e60abeea30
[3.11] gh-110886 Doc: add a link to BNF Wikipedia article (GH-110887) ( #110901 )
...
Co-authored-by: partev <petrosyan@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-15 17:00:57 +00:00
Miss Islington (bot)
44558a9ba8
[3.11] gh-101100: Fix sphinx warnings in library/time.rst (GH-110862) ( #110878 )
...
gh-101100: Fix sphinx warnings in `library/time.rst` (GH-110862)
(cherry picked from commit 12deda7633 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-14 14:28:23 +00:00
Miss Islington (bot)
2d615e1c26
[3.11] gh-101100: Fix sphinx warnings in usage/cmdline.rst (GH-110841) ( #110856 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-14 00:28:52 -06:00
Miss Islington (bot)
c0a77eb442
[3.11] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) ( #110827 )
...
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)
* Remove redundant versionchanged
* Add missing versionchanged
* Update Doc/library/asyncio-task.rst
---------
(cherry picked from commit f81e36f700 )
Co-authored-by: paskozdilar <53006174+paskozdilar@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2023-10-13 13:24:29 +00:00
Erlend E. Aasland
5178fb0b89
[3.11] GH-107518: Remove the Argument Clinic How-To ( #109900 ) ( #110761 )
...
(cherry picked from commit d1f7fae424 )
* Remove the content of the Argument Clinic HOWTO
* Update cross-references to the Argument Clinic
* Add a note directing readers to the devguide
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-12 09:52:59 +00:00
Ezio Melotti
eb492d32b6
[3.11] gh-110631: Fix reST indentation in Doc/reference (GH-110708) ( #110741 )
...
Fix wrong indentation in the Doc/reference dir..
(cherry picked from commit 41d8ec5a1b )
2023-10-12 02:01:48 +02:00
Ezio Melotti
90b2620b6e
[3.11] gh-110631: Fix reST indentation (GH-110724) ( #110739 )
...
* Fix wrong indentation in the other dirs.
* Fix more wrong indentation..
(cherry picked from commit 718391f475 )
2023-10-11 23:12:53 +02:00
Ezio Melotti
07471cda29
[3.11] gh-110631: Fix reST indentation in Doc/library (GH-110685) ( #110737 )
...
* [3.11] gh-110631: Fix reST indentation in `Doc/library` (GH-110685)
Fix wrong indentation in the Doc/library dir..
(cherry picked from commit bb7923f556 )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Fix merge glitch.
2023-10-11 23:11:41 +02:00
Hugo van Kemenade
fd061a9bbe
[3.11] gh-108826: Document dis module CLI and rename _test function to main ( #108827 ) ( #110689 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
2023-10-11 14:48:03 -06:00
Ezio Melotti
a8b2d12a25
[3.11] gh-110631: fix wrong indentation in the Doc/whatsnew dir (GH-110632) ( #110691 )
...
fix wrong indentation in the `Doc/whatsnew` dir (#110632 )
2023-10-11 03:53:26 -06:00
Miss Islington (bot)
de62c2c1b3
[3.11] gh-101100: Fix sphinx warnings in library/socketserver.rst (GH-110207) (GH-110624)
...
(cherry picked from commit 756062b296 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-10 14:10:33 +02:00
Miss Islington (bot)
5ada51cd51
[3.11] Remove unused SPHINXLINT var from Doc/Makefile. (GH-110570) ( #110584 )
...
Remove unused `SPHINXLINT` var from `Doc/Makefile`. (GH-110570)
Remove unused `SPHINXLINT` var.
(cherry picked from commit bdbe43c7d0 )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-10-10 03:13:34 +02:00
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)
2bad6e715a
[3.11] gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (GH-110535) ( #110537 )
...
gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (GH-110535)
(cherry picked from commit 892ee72b36 )
Co-authored-by: partev <petrosyan@gmail.com>
2023-10-09 04:55:37 +00: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)
a151afe719
[3.11] Bump various dependencies in Doc/requirements-oldest-sphinx.txt (GH-110278) ( #110281 )
...
Bump various dependencies in `Doc/requirements-oldest-sphinx.txt` (GH-110278)
This resolves a Dependabot security alert on the repository for urllib3==2.0.4.
(cherry picked from commit f1663a492e )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-03 13:18:08 +00:00