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
Miss Islington (bot)
a673248d6c
[3.11] GH-101100: Fix reference warnings for `namedtuple` (GH-110113) ( #110136 )
...
GH-101100: Fix reference warnings for ``namedtuple`` (GH-110113)
(cherry picked from commit cbdacc738a )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-30 06:42:37 +00:00
Adam Turner
d81bcc2327
[3.11] gh-102304: Add links to the Stable ABI and Limited C API docs ( #105345 ) ( #105371 ) ( #109901 )
...
* Add "limited-c-api" and "stable-api" targets
* Rename the "stable-abi-list" target to "limited-api-list"
2023-09-29 11:17:44 +02:00
Miss Islington (bot)
6024a75b10
[3.11] gh-101100: Fix references to `URLError and HTTPError in howto/urllib2.rst` (GH-107966) ( #110087 )
...
Co-authored-by: Yuki K <drsuaimqjgar@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-29 08:44:28 +00:00
Miss Islington (bot)
58ac0ed093
[3.11] gh-101100: Fix Sphinx warnings in tutorial/controlflow.rst (GH-109424) ( #110085 )
...
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-29 08:36:24 +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
Victor Stinner
d951aaea97
[3.11] gh-107298: Document PyMODINIT_FUNC macro ( #109236 ) ( #109948 )
...
gh-107298: Document PyMODINIT_FUNC macro (#109236 )
Document PyMODINIT_FUNC macro.
Remove links to PyAPI_FUNC() and PyAPI_DATA() macros since they are
not documented. These macros should only be used to define the Python
C API. They should not be used outside Python code base.
(cherry picked from commit d7a27e527d )
2023-09-27 10:40:24 +02:00
Miss Islington (bot)
c485715ba8
[3.11] gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931) ( #109938 )
...
gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (GH-109931)
(cherry picked from commit 3538930d87 )
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-09-27 02:35:26 +02: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
Miss Islington (bot)
4ec7c7e845
[3.11] GH-95913: Add the release date for Python 3.11 (GH-109750) ( #109772 )
...
GH-95913: Add the release date for Python 3.11 (GH-109750)
(cherry picked from commit b10de68c6c )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 21:19:22 -07:00
Hugo van Kemenade
cbe153edd6
[3.11] Docs: Update Donghee Na's name (GH-109743) ( #109759 )
...
* Update Donghee Na's name in Docs/
* Update Donghee Na's name in Misc/ACKS
* Update Donghee Na's name in Misc/NEWS.d/
2023-09-23 06:53:47 +03:00
Miss Islington (bot)
e918b19f42
[3.11] GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) ( #109637 )
...
GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210)
(cherry picked from commit 712cb173f8 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-21 06:32:10 +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)
7cabbb133a
[3.11] gh-109474: Update two Unix packaging URLs (GH-109307) ( #109478 )
...
gh-109474: Update two Unix packaging URLs (GH-109307)
update packaging URLs
fix a broken URL for fedora RPM packaging guide and fix a URL redirect for Slackware packaging guide.
(cherry picked from commit 0b38ce440b )
Co-authored-by: partev <petrosyan@gmail.com>
2023-09-16 07:56:16 +00: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
Miss Islington (bot)
2a24328db5
[3.11] GH-104395: Add a link in 'Meta Information' to the docs download page (GH-104443) ( #109346 )
...
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-12 20:41:39 +00: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
Ethan Furman
effa2ecdcf
[3.11] gh-108682: [Enum] raise TypeError if super().__new__ called in custom __new__ (GH-108704) (GH-108739)
...
When overriding the `__new__` method of an enum, the underlying data type should be created directly; i.e. .
member = object.__new__(cls)
member = int.__new__(cls, value)
member = str.__new__(cls, value)
Calling `super().__new__()` finds the lookup version of `Enum.__new__`, and will now raise an exception when detected.
(cherry picked from commit d48760b2f1 )
2023-09-07 18:57:48 -07: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
Serhiy Storchaka
6538bcfa0b
[3.11] Improve some C API documentation (GH-108768) (GH-108786)
...
* Express functions which take argument as a C string in terms of
functions which take Python object.
* Use "note" directive for PyMapping_HasKey() and
PyMapping_HasKeyString() notes.
(cherry picked from commit 6f97eeec22 )
2023-09-02 07:30:32 +03: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
Miss Islington (bot)
d3476dcb84
[3.11] gh-101100: Fix sphinx warnings in tutorial/appendix.rst (GH-108750) ( #108757 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-01 15:09:43 +03:00
Miss Islington (bot)
3b14346899
[3.11] gh-101100: Fix sphinx warnings in tutorial/classes.rst (GH-108746) ( #108755 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-01 10:57:30 +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)
f8ab9751da
[3.11] gh-101100: Fix Sphinx warnings in the Logging Cookbook (GH-108678) ( #108681 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-30 15:19:44 +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