decorator-factory
6203ef35dd
Replace the term `Immutable` with a `Hashable` in the `sequence` entry of the Glossary ( #124350 )
...
The term `Immutable` in the `sequence` entry of the glossary is used incorrectly, in fact dicts accepts hashable keys, which is not the same as immutable.
2024-09-23 16:34:08 +00:00
Adam Turner
9d0a75269c
GH-109975: Copyedit 3.13 What's New: C API ( #124313 )
2024-09-23 14:28:17 +01:00
Savannah Ostrowski
5f5c0b9c23
GH-79714: Add mention of stderr for clarity to ArgumentParser.exit() (GH-123932)
2024-09-23 12:08:03 +03:00
Y5
d3e79d75d1
gh-124130: Notes on empty string corner case of category `\B` ( #124133 )
...
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-23 08:58:14 +02:00
Jacob Walls
622368d99c
Fix typo in XMLParser doc ( #124129 )
2024-09-20 12:42:44 +02:00
Hugo van Kemenade
5f01111594
Docs: Update two FAQs for Python 3 ( #124247 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-09-19 21:50:05 +03:00
Jakub Kulík
8f82d9aa21
bpo-41843: Reenable use of sendfile in shutil module on Solaris (GH-23893)
2024-09-19 14:47:05 +00:00
Zachary Ware
9a6e2336e4
Fix `make htmllive` target (GH-124219)
...
Allow `make -C Doc htmllive` to work without manual venv activation
Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`.
2024-09-18 21:02:20 +00:00
Tomas R
21d2a9ab2f
gh-116022: Improve `repr()` of AST nodes ( #117046 )
...
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-18 10:28:22 -07:00
Petr Viktorin
32119fc377
gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134)
2024-09-18 14:15:43 +02:00
Sergey B Kirpichev
8a284e1896
gh-119771: Set errno on overflows in _Py_c_pow() ( #120256 )
...
Before we did this in complex_pow() and behavior of the public C API
function _Py_c_pow() was different from the pure-python pow().
2024-09-18 10:39:11 +02:00
neonene
646f16bdee
gh-124153: Implement `PyType_GetBaseByToken()` and `Py_tp_token` slot (GH-124163)
2024-09-18 09:18:19 +02:00
Bradley Reynolds
d8c0fe1944
gh-124194: Fix wrong issue number in What's New in Python 3.8 ( #124195 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-18 01:51:15 +01:00
Rafael Fontenelle
ab80c6b402
GH-103484: Fix broken links reported by linkcheck ( #124169 )
2024-09-17 17:05:15 +02:00
Rafael Fontenelle
33eeccf6d4
Use pep role instead of url ( #121611 )
2024-09-17 16:02:14 +03:00
Rafael Fontenelle
0a32c6959c
GH-103484: Fix permanently redirects reported by linkcheck (GH-124144)
...
Fix redirects reported by linkcheck, update docs conf.py checks.
2024-09-17 02:53:38 +00:00
Adam Turner
05235e3c16
GH-109975: Copyedit 3.13 What's New: New Deprecations ( #123845 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-16 17:03:46 +00:00
Chris Barker
38809171b8
gh-121607: Edited source file import recipe to make it more clear ( #121519 )
...
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-09-13 16:36:40 -07:00
Raymond Hettinger
cd06f5e323
Minor edits to the descriptor guide (GH-123928)
2024-09-13 17:02:37 -05:00
Oleg Iarygin
4f25e282ad
gh-100554: Fix formatting of type.rst modifications ( #124066 )
2024-09-13 18:35:08 +00:00
Wenzel Jakob
74330d992b
gh-100554: Add ``Py_tp_vectorcall`` slot to set ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. ( #123332 )
2024-09-13 17:40:25 +02:00
utkonos
bbb36c0934
Normalize cdecl formatting as found elsewhere on ctypes.rst ( #121379 )
2024-09-13 18:26:16 +03:00
Rafael Fontenelle
39612103dd
Update to 3.13 the output of exceptions raised ( #123888 )
2024-09-13 15:17:30 +00:00
Donghee Na
e6bb1a2b28
gh-119802: Update memory management docs for free-threaded build (gh-124006)
...
* gh-119802: Update memory management docs for free-threaded build
* nit
* nit
* Address code review
* nit
* Update Doc/c-api/memory.rst
Co-authored-by: Sam Gross <colesbury@gmail.com>
---------
Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-09-13 15:15:44 +00:00
Benjamin Peterson
bb904e063d
closes gh-124016: update Unicode to 16.0.0 ( #124017 )
2024-09-13 07:47:04 -07:00
Petr Viktorin
432bf31327
gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947)
2024-09-13 13:18:49 +02:00
Savannah Ostrowski
e5b0185e43
GH-101599: Update docs to remove redundant option in argparse tutorial ( #124025 )
2024-09-13 09:14:52 +03:00
Yngve Mardal Moe
584cdf8d41
gh-123614: Add save function to turtle.py ( #123617 )
2024-09-12 21:36:17 -07:00
Jason R. Coombs
a47cd21890
gh-123976: Refresh docs around custom providers. ( #123977 )
...
* gh-123976: Refresh docs around custom providers.
* Remove excess whitespace.
2024-09-13 02:29:08 +00:00
Nice Zombies
8e99495701
gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936)
2024-09-12 14:03:32 +02:00
Hugo van Kemenade
f5597dbd0e
Docs: Drop letter PDF ( #123912 )
2024-09-12 13:49:19 +03:00
Irit Katriel
77c68b40d5
gh-111997: update what's new in 3.13 re C API for monitoring events ( #123822 )
2024-09-12 11:32:57 +01:00
sobolevn
3bd942f106
Fix "The Matrix" movie release year in `typing.rst` ( #123965 )
2024-09-11 21:25:23 +03:00
Hugo van Kemenade
eb169f4027
Update Sphinx Lint and fix unnecessary parentheses in `:func:`s ( #123960 )
2024-09-11 21:05:15 +03:00
Irit Katriel
e07154fd1e
gh-123958: apply docstring removal optimization in ast_opt instead of codegen ( #123959 )
2024-09-11 17:02:28 +00:00
Bénédikt Tran
ef05801ba0
gh-108951: Document how to terminate an asyncio.TaskGroup ( #123837 )
...
We don't want to add another API, since the recipe is straightforward and rarely needed.
The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13).
2024-09-11 08:43:24 -07:00
Jelle Zijlstra
5436d8b9c3
gh-119180: Documentation for PEP 649 and 749 ( #122235 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-09-11 07:49:59 -07:00
Tushar Sadhwani
3597642ed5
gh-122239: Add actual count in unbalanced unpacking error message when possible ( #122244 )
2024-09-10 16:07:30 +01:00
Bénédikt Tran
07f0bf5aa4
gh-123165: update docs signature for `dis.disassemble` ( #123808 )
2024-09-10 15:25:27 +01:00
Petr Viktorin
1b29f4144c
gh-123905: Update TOML description to include version number (GH-123906)
...
Update TOML description to include version number
There is some movement, currently blocked, that would update the TOML spec to 1.1.0; this would include breaking changes to what characters are allowed. Thus, it is worthwhile for the library page to be clear which version is implemented here.
Co-authored-by: Paul Hoffman <phoffman@proper.com>
2024-09-10 14:16:32 +00:00
Peter Bierma
962304a54c
gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778)
2024-09-10 15:05:28 +02:00
Raymond Hettinger
2afba5ca6d
Small improvements to the itertools docs (GH-123885)
2024-09-09 20:57:49 -05:00
Anthony Sottile
d359a7683e
gh-66449: remove duplicate configparser section in 3.13 whatsnew ( #123874 )
2024-09-09 16:40:18 -04:00
Serhiy Storchaka
c0c2aa7644
gh-122213: Add notes for pickle serialization errors (GH-122214)
...
This allows to identify the source of the error.
2024-09-09 21:28:55 +03:00
sobolevn
b950831c94
Mention `curl` in `contextvars` docs ( #123838 )
2024-09-09 16:58:49 +03:00
Bénédikt Tran
32bc2d6141
gh-123834: Add `symtable` to the list of modules with a CLI ( #123835 )
2024-09-09 13:45:43 +02:00
Donghee Na
aa3f11f80a
gh-108219: Add credits to the free-threading entry in What's New ( #123802 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
2024-09-08 21:20:15 +01:00
Wulian
beee91cdcc
gh-123789: `secrets.randbits` returns only non-negative int ( #123801 )
2024-09-07 21:17:59 -07:00
Wei-Hsiang (Matt) Wang
93050e4614
Remove excessive backticks in logging doc ( #123813 )
2024-09-07 18:09:02 +00:00
Nathan Goldbaum
5a4fb7ea1c
gh-109975: Add links to py-free-threading.github.io ( #123776 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-09-06 20:12:12 +03:00