Commit graph

3979 commits

Author SHA1 Message Date
Miss Islington (bot)
d158bbc2ef
[3.12] GH-109190: Copyedit 3.12 What's New: Prefer GitHub issues links (GH-109753) (#109825)
GH-109190: Copyedit 3.12 What's New: Prefer GitHub issues links (GH-109753)
(cherry picked from commit 7495a93e0f)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-25 14:25:16 +02:00
Miss Islington (bot)
52b2f9f668
[3.12] GH-109190: Copyedit 3.12 What's New: Update the `imp` porting guidance (GH-109755) (#109816)
GH-109190: Copyedit 3.12 What's New: Update the ``imp`` porting guidance (GH-109755)
(cherry picked from commit 7b8bfe1644)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-25 12:16:13 +02:00
Miss Islington (bot)
cb4a8c273d
[3.12] GH-109190: Copyedit 3.12 What's New: Increase the prominence of the setuptools removal (GH-109768) (#109815)
GH-109190: Copyedit 3.12 What's New: Increase the prominence of the setuptools removal (GH-109768)
(cherry picked from commit 09a73d50f6)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-25 12:16:00 +02:00
Miss Islington (bot)
d56835f855
[3.12] GH-109190: Copyedit 3.12 What's New: Use the `:file:` role (GH-109756) (#109806)
GH-109190: Copyedit 3.12 What's New: Use the ``:file:`` role (GH-109756)
(cherry picked from commit 8d365b60ba)

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-25 12:15:46 +02:00
Miss Islington (bot)
2622b13046
[3.12] gh-109634: Use :samp: role (GH-109635) (#109776)
gh-109634: Use :samp: role (GH-109635)
(cherry picked from commit 92af0cc580)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-09-24 13:54:36 +02:00
Miss Islington (bot)
62df559448
[3.12] gh-100228: Document the os.fork threads DeprecationWarning. (GH-109767) (#109773)
* gh-100228: Document the os.fork threads DeprecationWarning. (GH-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. 🥳

(cherry picked from commit 5e7ea95d9d)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

* link to the discussion thread from whatsnew

Include the link to the discussion in the what's new text per @malemberg's comment on. https://github.com/python/cpython/pull/109767

(i'll follow up with a PR to main to include this edit there as well)

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
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-24 13:53:56 +02:00
Miss Islington (bot)
46207624b7
[3.12] GH-95913: Add the release date for Python 3.11 (GH-109750) (#109771)
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-24 13:53:27 +02:00
Hugo van Kemenade
722660b48b
[3.12] Docs: Update Donghee Na's name (GH-109743) (#109758)
* 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-24 13:52:26 +02:00
Miss Islington (bot)
284de30f50
[3.12] GH-109190: Copyedit 3.12 What's New: asyncio (GH-109661) (#109733)
GH-109190: Copyedit 3.12 What's New: asyncio (GH-109661)
(cherry picked from commit c32abf1f21)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
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 14:03:00 +00:00
Miss Islington (bot)
8985a77bf6
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658) (#109732)
GH-109190: Copyedit 3.12 What's New: PEP 669 (GH-109658)
(cherry picked from commit 168c3a8a89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-22 14:02:26 +00:00
Miss Islington (bot)
66a8777c7e
[3.12] GH-109190: Copyedit 3.12 What's New: Other Language Changes (GH-109660) (#109730)
GH-109190: Copyedit 3.12 What's New: Other Language Changes (GH-109660)
(cherry picked from commit cade5960ae)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 15:29:59 +02:00
Miss Islington (bot)
388f90a673
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 684 (GH-109657) (#109729)
GH-109190: Copyedit 3.12 What's New: PEP 684 (GH-109657)
(cherry picked from commit e94a2232ea)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 15:29:36 +02:00
Miss Islington (bot)
5030d386f8
[3.12] GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (GH-109665) (#109728)
GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (GH-109665)
(cherry picked from commit d9415f6a45)


bytecode: suppress reference to removed LOAD_METHOD

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 15:29:16 +02:00
Hugo van Kemenade
c03ed79f22
[3.12] gh-106967: remove Release and Date fields from whatsnew for 3.12 (#109648)
fix: remove Release and Date fields from whatsnew

python/release-tools template for "What's New" page automatically adds
a "Release" field and a "Date" field with the date set to "today", which
becomes the day the docs are built, which is forever increasing. This is
the topic of https://github.com/python/release-tools/issues/34 which is
yet to be fixed. In the meantime, this commit fixes it manually.

Co-authored-by: Oliver Rew <orew@bloomberg.net>
2023-09-22 15:28:02 +02:00
Miss Islington (bot)
5796d69b00
[3.12] GH-109190: Copyedit 3.12 What's New: Consistently show module names (GH-109664) (#109713)
(cherry picked from commit 291401389b)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2023-09-22 15:21:52 +02:00
Hugo van Kemenade
b7801d7d1f
[3.12] GH-109190: Copyedit 3.12 What's New: calendar (GH-109662) (#109716)
(cherry picked from commit 34ddcc3fa1)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 15:02:27 +02:00
Miss Islington (bot)
0100ce5deb
[3.12] GH-109190: Copyedit 3.12 What's New: tokenize (GH-109663) (#109715)
(cherry picked from commit d3fe1a902f)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 15:02:03 +02:00
Miss Islington (bot)
0030c80a5a
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 701 (GH-109655) (#109689)
(cherry picked from commit e47d12e222)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 14:59:52 +02:00
Miss Islington (bot)
5f685ed783
[3.12] GH-109190: Copyedit 3.12 What's New: Improved Error Messages (GH-109654) (#109687)
(cherry picked from commit 16c24023c1)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 14:58:04 +02:00
Miss Islington (bot)
92f2e33ebc
[3.12] GH-109190: Copyedit 3.12 What's New: Typing PEPs (GH-109659) (#109684)
(cherry picked from commit 11636788da)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 14:57:22 +02:00
Miss Islington (bot)
6c8cbb3a7c
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 709 (GH-109656) (#109681)
(cherry picked from commit 22b70ca480)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 14:56:18 +02:00
Miss Islington (bot)
a6ed8106e2
[3.12] gh-109292: add symtable impact of PEP 709 to What's New (GH-109293) (#109296)
gh-109292: add symtable impact of PEP 709 to What's New (GH-109293)
(cherry picked from commit 2b1e2f1cd1)

Co-authored-by: Carl Meyer <carl@oddbird.net>
2023-09-12 16:21:08 +02:00
Miss Islington (bot)
a8393dc27e
[3.12] gh-109190: What's New in 3.12: Add subheadings to removals for easy linking (GH-109159) (#109273)
gh-109190: What's New in 3.12: Add subheadings to removals for easy linking (GH-109159)
(cherry picked from commit 57b6205523)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-12 16:16:35 +02:00
Miss Islington (bot)
bcd59070d0
[3.12] Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222) (#109223)
Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222)
(cherry picked from commit 2dd6a86c4e)

Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
2023-09-12 16:00:54 +02:00
Hugo van Kemenade
5ca2a68bbe
[3.12] gh-107732: Mention dir support in importlib.resources docs (GH-107734) (#109058)
gh-107732: Mention dir support in importlib.resources docs (#107734)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit 9f0c0a46f0)

Co-authored-by: Shahriar Heidrich <smheidrich@weltenfunktion.de>
2023-09-08 15:12:48 +02:00
Miss Islington (bot)
19d822681b
[3.12] GH-90690: Mention removal of `PRECALL` in What's New (GH-103910) (#109027)
GH-90690: Mention removal of ``PRECALL`` in What's New (GH-103910)
(cherry picked from commit f9bd6e49ae)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
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-08 15:10:18 +02:00
Miss Islington (bot)
578b3ea0e9
[3.12] GH-103082: Document PEP-669: Low Impact Monitoring for CPython (GH-107772) (#108909)
GH-103082: Document PEP-669: Low Impact Monitoring for CPython (GH-107772)
(cherry picked from commit 8b515f60ee)

Co-authored-by: Mark Shannon <mark@hotpy.org>
2023-09-05 15:07:11 +02:00
Miss Islington (bot)
8c551a7f2a
[3.12] Link to PEP sections in What's New in 3.12 (GH-108878) (#108890)
Link to PEP sections in What's New in 3.12 (GH-108878)
(cherry picked from commit 7855d325e6)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-05 12:52:36 +02:00
Miss Islington (bot)
a92c60c99b
[3.12] gh-97850: Note in py312 whatsnew that importlib.util.set_loader and importlib.util.module_for_loader have been removed (GH-108719) (#108723)
gh-97850: Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed (GH-108719)

Note in py312 whatsnew that `importlib.util.set_loader` and `importlib.util.module_for_loader` have been removed
(cherry picked from commit 013a99a47b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-01 00:03:02 +02:00
Adam Turner
7c7b2bfb3f
[3.12] GH-108202: Combine documentation of `calendar` constants (GH-108492) (#108579)
[3.12] GH-108202: Combine documentation of ``calendar`` constants (GH-108492).
(cherry picked from commit 5d936b6479)
2023-08-29 00:26:48 +02:00
Miss Islington (bot)
b312d4fd7e
[3.12] gh-70766: Mention the object getstate caveat in 3.11 What's new. (GH-108379) (#108384)
gh-70766: Mention the object getstate caveat in 3.11 What's new. (GH-108379)
(cherry picked from commit b6be18812c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-08-24 01:44:50 +02:00
Miss Islington (bot)
fad80598dc
[3.12] Document 3.13, 3.14 and future removals (GH-108055) (#108331)
(cherry picked from commit 39de79b345)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-22 21:38:13 +02:00
Miss Islington (bot)
e5d779c0e2
[3.12] gh-107298: Fix numerous ref errors and typos in the C API docs (GH-108258) (#108284)
gh-107298: Fix numerous ref errors and typos in the C API docs (GH-108258)
(cherry picked from commit d7202e4879)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-08-22 16:16:31 +02:00
Miss Islington (bot)
a2b680d9e9
[3.12] gh-106971: Docs: Add missing issue reference (GH-106992) (#108283)
gh-106971: Docs: Add missing issue reference (GH-106992)
(cherry picked from commit c556f9a3c9)

Co-authored-by: Junya Fukuda <junya.fukuda.e@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-22 16:15:59 +02:00
Miss Islington (bot)
78a2a8c026
[3.12] gh-107298: Fix references to deprecated and removed PyUnicode C API (GH-108077) (#108225)
gh-107298: Fix references to deprecated and removed PyUnicode C API (GH-108077)
(cherry picked from commit db55383829)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-08-21 21:43:28 +02:00
Miss Islington (bot)
41c951b62f
[3.12] gh-107298: Fix some references in the C API documentation (GH-108072) (#108074)
gh-107298: Fix some references in the C API documentation (GH-108072)
(cherry picked from commit f51f0466c0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-08-17 12:52:48 +02:00
Miss Islington (bot)
39ce30dd3e
[3.12] gh-107891: Fix typo in 3.12 whatsnew (GH-107892) (#107893)
gh-107891: Fix typo in 3.12 whatsnew  (GH-107892)
(cherry picked from commit 2e1f688fe0)

Co-authored-by: wookie184 <wookie1840@gmail.com>
2023-08-14 14:39:30 +02:00
Miss Islington (bot)
98902d6c05
[3.12] GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535) (#107618)
GH-107263: Increase C stack limit for most functions, except `_PyEval_EvalFrameDefault()` (GH-107535)

* Set C recursion limit to 1500, set cost of eval loop to 2 frames, and compiler mutliply to 2.
(cherry picked from commit fa45958450)

Co-authored-by: Mark Shannon <mark@hotpy.org>
2023-08-04 12:25:51 +02:00
Miss Islington (bot)
fc4532a55d
[3.12] gh-105766: Document that Custom Allocators Must Be Thread-Safe (gh-107519) (gh-107522)
gh-105766: Document that Custom Allocators Must Be Thread-Safe (gh-107519)
(cherry picked from commit db361a340a)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2023-07-31 17:25:18 -06:00
Miss Islington (bot)
31cd12ab21
[3.12] gh-99113: Add a What's New Entry for PEP 684 (gh-107520) (gh-107523)
gh-99113: Add a What's New Entry for PEP 684 (gh-107520)
(cherry picked from commit 79e479c45f)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2023-07-31 17:24:45 -06:00
Miss Islington (bot)
0fbe69fc41
[3.12] gh-106762: Add news for EnumMeta.__getattr__ removal (GH-107466) (GH-107509)
gh-106762: Add news for `EnumMeta.__getattr__` removal (GH-107466)
(cherry picked from commit de51dede5b)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2023-07-31 11:33:32 -07:00
Miss Islington (bot)
5f7862dc1f
[3.12] GH-101291: Add warning to "what's new" that PyLongObject internals have changed. (GH-107388) (#107392)
(cherry picked from commit 1ee605c588)

Co-authored-by: Mark Shannon <mark@hotpy.org>
2023-07-31 10:16:00 -07:00
Ned Deily
f9f9bc9bb7
[3.12] gh-99079: add What's New item (GH-107481) 2023-07-31 07:12:07 +00:00
Serhiy Storchaka
d514e1439f
[3.12] gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386) (GH-107419)
(cherry picked from commit f2d07d3289)
2023-07-29 09:16:27 +03:00
Serhiy Storchaka
34e6e14602
[3.12] gh-107091: Fix some uses of :func: role (GH-107378) (GH-107416)
:c:func: or :c:macro: should be used instead.
(cherry picked from commit 413ba8943e)
2023-07-29 05:52:25 +00:00
Miss Islington (bot)
0f42f41ea8
[3.12] gh-107091: Fix some uses of :const: role (GH-107379) (GH-107384)
It is for references, not for literals.
(cherry picked from commit 0aa58fa7a6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-07-28 10:35:20 +00:00
Serhiy Storchaka
4014869b4b
[3.12] gh-107298: Fix yet more Sphinx warnings in the C API doc (GH-107345) (GH-107380)
(cherry picked from commit 983305268e)
2023-07-28 08:20:53 +00:00
Serhiy Storchaka
e6a4b10820
[3.12] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107376)
Declare the following functions as macros, since they are actually
macros. It avoids a warning on "TYPE" or "macro" argument.

* PyMem_New()
* PyMem_Resize()
* PyModule_AddIntMacro()
* PyModule_AddStringMacro()
* PyObject_GC_New()
* PyObject_GC_NewVar()
* PyObject_New()
* PyObject_NewVar()

Add C standard C types to nitpick_ignore in Doc/conf.py:

* int64_t
* uint64_t
* uintptr_t

No longer ignore non existing "__int" type in nitpick_ignore.

Update Doc/tools/.nitignore.
(cherry picked from commit 8d61a71f9c)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-07-28 09:56:52 +03:00
Serhiy Storchaka
434e3b89a7
[3.12] gh-107091: Fix some uses of :attr: role (GH-107318) (GH-107330)
Fix also formatting of PyMethodDef members.
(cherry picked from commit d363eb5b02)
2023-07-27 09:24:18 +03:00
Miss Islington (bot)
da2097dffb
[3.12] gh-107091: Fix some uses of :c:type: role (GH-107138) (GH-107312)
(cherry picked from commit 6d5b6e71c8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-07-26 19:37:39 +00:00