Adam Turner
8d365b60ba
GH-109190: Copyedit 3.12 What's New: Use the `:file:` role ( #109756 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-24 16:05:57 +00:00
Nikita Sobolev
649768fb67
gh-101100: Fix sphinx warnings in Doc/library/xml.etree.elementtree.rst ( #109799 )
...
gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst`
2023-09-24 12:49:02 +03:00
Serhiy Storchaka
92af0cc580
gh-109634: Use :samp: role (GH-109635)
2023-09-23 09:31:20 +03:00
Gregory P. Smith
5e7ea95d9d
gh-100228: Document the os.fork threads DeprecationWarning. ( #109767 )
...
Document the `os.fork` posix threads detected `DeprecationWarning` in 3.12 What's New, os, multiprocessing, and concurrent.futures docs.
Many reviews and doc cleanup edits by Adam & Hugo. 🥳
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-23 05:04:20 +00:00
Adam Turner
b10de68c6c
GH-95913: Add the release date for Python 3.11 ( #109750 )
2023-09-22 21:07:06 -07:00
Jelle Zijlstra
612400d446
Fix indentation in 3.13 What's New ( #109769 )
...
The previous layout made it look like the other three deprecations are part of the first one, when in fact they are independent.
The new layout is consistent with that used for sqlite3 in 3.12 (https://docs.python.org/3.13/whatsnew/3.12.html#deprecated ).
2023-09-22 20:45:26 -07:00
Hugo van Kemenade
8a82bff12c
Docs: Update Donghee Na's name ( #109743 )
2023-09-22 12:52:57 -06:00
Adam Turner
c32abf1f21
GH-109190: Copyedit 3.12 What's New: asyncio ( #109661 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-22 15:32:32 +02:00
Adam Turner
168c3a8a89
GH-109190: Copyedit 3.12 What's New: PEP 669 ( #109658 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-22 15:31:49 +02:00
Łukasz Langa
46b63ced25
Remove outdated docstring from the quantify itertools recipe ( #109726 )
2023-09-22 15:09:32 +02:00
Adam Turner
cade5960ae
GH-109190: Copyedit 3.12 What's New: Other Language Changes ( #109660 )
2023-09-22 15:05:39 +02:00
Adam Turner
e94a2232ea
GH-109190: Copyedit 3.12 What's New: PEP 684 ( #109657 )
2023-09-22 14:53:53 +02:00
Adam Turner
d9415f6a45
GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) ( #109665 )
...
bytecode: suppress reference to removed LOAD_METHOD
2023-09-22 14:50:20 +02:00
Adam Turner
34ddcc3fa1
GH-109190: Copyedit 3.12 What's New: calendar ( #109662 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-22 06:29:48 +00:00
Adam Turner
d3fe1a902f
GH-109190: Copyedit 3.12 What's New: tokenize ( #109663 )
2023-09-22 00:28:13 -06:00
Adam Turner
291401389b
GH-109190: Copyedit 3.12 What's New: Consistently show module names ( #109664 )
...
Consistently show module names
2023-09-22 08:37:44 +03:00
Adam Turner
e47d12e222
GH-109190: Copyedit 3.12 What's New: PEP 701 ( #109655 )
2023-09-21 13:37:28 -06:00
Adam Turner
16c24023c1
GH-109190: Copyedit 3.12 What's New: Improved Error Messages ( #109654 )
2023-09-21 13:24:44 -06:00
Adam Turner
11636788da
GH-109190: Copyedit 3.12 What's New: Typing PEPs ( #109659 )
2023-09-21 13:05:54 -06:00
Adam Turner
22b70ca480
GH-109190: Copyedit 3.12 What's New: PEP 709 ( #109656 )
2023-09-21 12:50:33 -06:00
AN Long
869f177b5c
gh-74481: Add missing debug function docs and constants to msvcrt (GH-109650)
2023-09-21 16:44:24 +01:00
Adam Turner
712cb173f8
GH-109209: Bump the minimum Sphinx version to 4.2 ( #109210 )
2023-09-21 09:06:36 +03:00
Heinz-Alexander Fuetterer
ef6d475db3
Fix typos in docs and comments ( #109619 )
2023-09-20 16:58:23 +00:00
Victor Stinner
d41d2e69f6
gh-109054: Document configure variables ( #109224 )
2023-09-20 18:51:53 +02:00
Victor Stinner
ced6924630
gh-108973: Fix asyncio test_subprocess_consistent_callbacks() ( #109431 )
...
SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the test for that.
Revert commit 282edd7b2a .
_child_watcher_callback() calls immediately _process_exited(): don't
add an additional delay with call_soon(). The reverted change didn't
make _process_exited() more determistic: it can still be called
before pipe_connection_lost() for example.
Co-authored-by: Davide Rizzo <sorcio@gmail.com>
2023-09-20 15:54:19 +02:00
James Gerity
def828995a
fixes gh-109559: Update unicodedata for Unicode 15.1.0 (GH-109560)
...
---------
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2023-09-19 22:07:47 -07:00
Mateusz Nowak
5a740cd06e
gh-109109: Expose retrieving certificate chains in SSL module ( #109113 )
...
Adds APIs to get the TLS certificate chains, verified or full unverified, from SSLSocket and SSLObject.
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
2023-09-20 01:20:54 +00:00
Raymond Hettinger
f2636d2c45
Misc itertool recipe improvements, mostly docstrings and comments (gh-109555)
2023-09-19 07:39:44 -05:00
Victor Stinner
59f32a785f
gh-109435: Add Doc/library/cmdline.rst ( #109436 )
...
Document modules providing a command-line interface (CLI).
2023-09-19 13:57:28 +02:00
Xuehai Pan
74f315edd0
gh-102757: fix function signature mismatch for functools.reduce between code and documentation ( #102759 )
2023-09-18 10:42:58 -06:00
Hugo van Kemenade
2209d814ca
Docs: getopt is deprecated in Python 3.13 ( #109438 )
2023-09-18 13:45:59 +03:00
Anthony Sottile
ce5b3e19e6
Fix extraneous backslashes in hashlib docs ( #109468 )
2023-09-18 00:25:33 -07:00
Serhiy Storchaka
add16f1a5e
gh-108511: Add C API functions which do not silently ignore errors (GH-109025)
...
Add the following functions:
* PyObject_HasAttrWithError()
* PyObject_HasAttrStringWithError()
* PyMapping_HasKeyWithError()
* PyMapping_HasKeyStringWithError()
2023-09-17 14:23:31 +03:00
AlberLC
929cc4e4a0
gh-109451: Fix wrong format specifier in logging documentation (GH-109465)
2023-09-16 10:06:04 +01:00
Vinay Sajip
a6846d45ff
gh-109414: Add some basic information about venvs in the introduction. (GH-109440)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-09-16 09:49:02 +01:00
partev
0b38ce440b
gh-109474: Update two Unix packaging URLs ( #109307 )
...
update packaging URLs
fix a broken URL for fedora RPM packaging guide and fix a URL redirect for Slackware packaging guide.
2023-09-16 10:46:09 +03:00
Brett Cannon
e218e5022e
GH-83417: Allow venv to add a .gitignore file to environments via a new scm_ignore_file parameter (GH-108125)
...
This feature is off by default via code but on by default via the CLI. The `.gitignore` file contains `*` which causes the entire directory to be ignored.
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-15 22:38:08 +00:00
Gregory P. Smith
59073c9ab8
gh-109096: Deprecate http.server.CGIHTTPRequestHandler ( #109387 )
...
Deprecate `http.server.CGIHTTPRequestHandler`.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-15 14:26:45 -07:00
Egil Martinsson
3d881453d3
gh-109350: Fix outdated captured output in unittest.mock documentation ( #109353 )
2023-09-15 19:25:16 +01:00
Hugo van Kemenade
b434dd7e36
Docs: Superseded modules: list only module names ( #109439 )
2023-09-15 15:56:23 +03:00
Nikita Sobolev
21e80f4c19
gh-101100: Fix sphinx warnings in turtle.rst ( #109394 )
2023-09-14 14:24:18 -04:00
Victor Stinner
d7a27e527d
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.
2023-09-14 14:56:43 +02:00
Brandt Bucher
22e65eecaa
GH-105848: Replace KW_NAMES + CALL with LOAD_CONST + CALL_KW (GH-109300)
2023-09-13 10:25:45 -07:00
Oleksandr Kravets
a0c06a4f93
Fix variable name in dis documentation example (GH-109343)
...
BINARY_SUBSCR example erroneously uses two different names `key` and `index` to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only `key` in the same context. Changing `index` to `key` for consistency.
2023-09-13 08:07:56 +03:00
Thomas Grainger
6c0ddca409
gh-105189: fix importlib.resources.abc deprecation docs ( #105232 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-13 07:42:26 +03:00
Adam Turner
90cf345ed4
GH-104395: Add a link in 'Meta Information' to the docs download page ( #104443 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-12 20:32:13 +00:00
Irit Katriel
b303d3ad3e
gh-109319: deprecate dis.HAVE_ARGUMENT ( #109320 )
2023-09-12 16:45:35 +01:00
Irit Katriel
0e76cc359b
gh-109184: update traceback module doc w.r.t notes (message is no longer always at the end) ( #109201 )
2023-09-12 14:54:04 +00:00
AN Long
e121fca33b
gh-109266: Fix msvcrt.kbhit's documented return value (GH-109267)
2023-09-12 15:44:48 +01:00
Irit Katriel
8b55adfa8f
gh-109256: allocate opcode IDs for internal opcodes in their own range ( #109269 )
2023-09-12 10:36:17 +00:00