Wei-Hsiang (Matt) Wang
103a0470e3
gh-123492: Remove unnecessary `:func:` parentheses ( #123493 )
2024-08-30 14:34:09 +03:00
Hugo van Kemenade
f5b7e397c0
gh-101100: Fix Sphinx warnings in `whatsnew/3.10.rst` ( #118356 )
2024-04-28 18:12:25 +00:00
Hugo van Kemenade
3375282bb8
Docs: add link roles with Sphinx extlinks ( #117850 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-15 21:22:00 +03:00
Erlend E. Aasland
dbe44f150c
Docs: mark up NotImplemented using the :data: role throughout the docs ( #116135 )
2024-02-29 20:46:12 +00:00
Hugo van Kemenade
cfb26401f6
gh-100734: What's New in 3.x: Add missing detail from 3.x branch ( #114689 )
2024-02-15 17:32:33 +02:00
Hugo van Kemenade
eb53750757
gh-101100: Fix Sphinx warnings in `library/pyclbr.rst` ( #113739 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-01-05 19:15:07 +00:00
Alex Waygood
f1f8392432
Document the `co_lines` method on code objects ( #113682 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-03 19:29:24 +00:00
Hugo van Kemenade
fab7ad62ce
gh-101100: Fix Sphinx warnings for removed dead batteries ( #113669 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-01-03 13:04:26 +00:00
Alex Waygood
e9707d3c3d
gh-101100: Improve documentation of code object attributes ( #112781 )
2023-12-06 20:15:46 +00:00
Alex Waygood
d109f637c0
gh-101100: Properly document frame object attributes ( #112735 )
2023-12-05 19:27:59 +00:00
Ezio Melotti
3dd593e2f2
gh-110631: fix wrong indentation in the `Doc/whatsnew` dir ( #110632 )
...
Fix wrong indentation in the Doc/whatsnew dir.
2023-10-11 07:34:38 +02:00
Hugo van Kemenade
8a82bff12c
Docs: Update Donghee Na's name ( #109743 )
2023-09-22 12:52:57 -06:00
Serhiy Storchaka
d7202e4879
gh-107298: Fix numerous ref errors and typos in the C API docs (GH-108258)
2023-08-22 15:50:30 +03:00
Sebastiaan Zeeff
6dbffaed17
gh-106969: Indicate no modules were added in 3.10 & 3.12 ( #106988 )
...
The "New Modules" section was left in place to ensure that the anchor
link for new modules will still exist:
/whatsnew/3.12.html#new-modules
/whatsnew/3.10.html#new-modules
This means that existing links to this section don't break.
2023-07-22 14:13:44 +02:00
Serhiy Storchaka
4b9948617f
gh-106909: Use role :const: for referencing module constants (GH-106910)
2023-07-21 12:40:37 +03:00
Serhiy Storchaka
fcc816dbff
gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920)
2023-07-21 10:52:07 +03:00
Victor Stinner
08d5923896
gh-104773: PEP 594: Remove cgi and cgitb modules ( #104775 )
...
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid
warnings on broken references.
* test_pyclbr no longer tests the cgi module.
2023-05-24 09:04:53 +00:00
Adam Turner
423d7faeb3
GH-97850: Suppress cross-references to removed ``importlib.util`` functions ( #104134 )
...
`importlib.utils` -> `importlib.util` in a few places
---------
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-03 14:13:03 +01:00
Adam Turner
8b03e5ff94
GH-97850: Suppress cross-references to the removed ``module_repr`` method ( #104133 )
...
Suppress cross-references to ``module_repr``
2023-05-03 13:57:23 +01:00
Adam Turner
328435ed42
GH-98040: Suppress cross-references to the removed ``imp`` module ( #104131 )
...
Suppress cross-references to imp
2023-05-03 13:29:42 +01:00
Barry Warsaw
326997829d
gh-98040: Remove find_loader, find_module and other deprecated APIs ( #98059 )
...
* Remove deprecated classes from pkgutil
* Remove some other PEP 302 obsolescence
* Use find_spec instead of load_module
* Remove more tests of PEP 302 obsolete APIs
* Remove another bunch of tests using obsolete load_modules()
* Remove deleted names from __all__
* Remove obsolete footnote
* imp is removed
* Remove `imp` from generated stdlib names
* What's new and blurb
* Update zipimport documentation for the removed methods
* Fix some Windows tests
* Remove any test (or part of a test) that references `find_module()`.
* Use assertIsNone() / assertIsNotNone() consistently.
* Update Doc/reference/import.rst
* We don't need pkgutil._get_spec() any more either
* test.test_importlib.fixtures.NullFinder
* ...BadLoaderFinder.find_module
* ...test_api.InvalidatingNullFinder.find_module
* ...test.test_zipimport test of z.find_module
* Suppress cross-references to find_loader and find_module
* Suppress cross-references to Finder
* Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader
---------
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-05-03 04:55:22 -07:00
Serhiy Storchaka
e5bd5ad70d
gh-100160: Restore and deprecate implicit creation of an event loop (GH-100410)
...
Partially revert changes made in GH-93453.
asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a
DeprecationWarning and creates and sets a new event loop instead of
raising a RuntimeError if there is no current event loop set.
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2023-01-13 14:40:29 +02:00
Zachary Ware
e196d8c10a
gh-100700: Remove Date and Release fields in past whatsnews (GH-100728)
2023-01-03 16:00:26 -06:00
Yilei "Dolee" Yang
d74a58872c
whatsnew-3.10: Mention PEP 647 in the Release highlights section. ( #99853 )
...
Mention PEP 647 in the Release highlights section.
Also re-ordered the list so it matches the order in the details sections below.
2022-11-29 20:30:58 +00:00
Rafael Fontenelle
52fcba6512
Doc: Remove title text from internal links ( #98409 )
...
Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators
2022-10-19 08:36:07 -07:00
Hugo van Kemenade
fa2d43e518
Docs: Fix backtick errors found by sphinx-lint ( #97998 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-10-06 18:01:30 -07:00
180909
cd0fde27f9
gh-95986: Fix the example using match keyword ( #95989 )
2022-10-06 09:52:21 -07:00
Terry Jan Reedy
bcc74d509a
gh-95191: IDLE Prompts entry for What's New 3.10 ( #95633 )
2022-08-03 22:17:57 -04:00
Terry Jan Reedy
c944649ffc
gh-95112: Fix What's New 3.10 contribution note periods ( #95114 )
...
Some are missing, a few placed after the ')'.
One ') was missing.
2022-07-21 20:00:52 -04:00
Hugo van Kemenade
59c1b33805
What's new in 3.10: fix link to issue ( #93968 )
...
* What's new in 3.10: fix link to issue
* What's new in 3.10: fix link to GH issue
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-06-19 11:04:26 +02:00
georgically
877ad7b3b2
gh-92240 : Include release dates for "What's New In Python 3.X" ( #92937 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-05-28 20:24:35 -07:00
slateny
5dcfb916c7
gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)
...
#89253
[`pairwise()`](https://docs.python.org/3/library/itertools.html#itertools.pairwise ) already has the 'new in python3.10'
Automerge-Triggered-By: GH:rhettinger
2022-04-30 15:14:38 -07:00
Erlend Egeberg Aasland
b36d222110
bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698)
...
- Remove ``--with-tclk-*`` options from `configure`
- Use pkg-config to detect `_tkinter` dependencies (Tcl/Tk, X11)
- Manual override via environment variables `TCLTK_CFLAGS` and `TCLTK_LIBS`
2022-03-31 03:19:08 -07:00
Leo
ad4e8d2b87
Fix missing import in dataclass code snippet (GH-29214)
...
field was not imported. It has been added now.
2022-02-14 12:01:53 -08:00
Terry Jan Reedy
2d98433549
bpo-45447: Add entry to What's new 3.10 (GH-31304)
2022-02-12 21:10:29 -05:00
Terry Jan Reedy
4a49fa6ca6
bpo-48146: Update IDLE part of What's New 3.10 to 2022 (GH-30906)
2022-01-25 23:48:53 -05:00
Rafael Fontenelle
c1d7a6bed9
docs: Fix typos and use anchor for internal link (GH-30236)
2021-12-26 12:43:06 +02:00
Rafael Fontenelle
3d3615f41f
bpo-46130: [docs] Add anchor for whatsnew/3.10 type hint section (GH-30199)
...
This allows the title to be translated to other languages without linking problems.
2021-12-19 22:06:35 +08:00
Rafael Fontenelle
3e0f13b9e4
doc: Add link issue 44010 (GH-29454)
2021-12-08 12:55:39 +02:00
Rafael Fontenelle
19b107e9b5
bpo-45741: docs: fix plural (GH-29461)
...
"entry points provides" -> "entry points provide"
Automerge-Triggered-By: GH:ericvsmith
2021-11-07 22:03:44 -08:00
Landon Yarrington
5b4a7675bc
Fix dataclassses spelling (GH-28837)
2021-10-09 15:17:52 -04:00
Pablo Galindo Salgado
32485cecab
Remove draft notice on the 3.10 What's new document (GH-28806)
...
Automerge-Triggered-By: GH:pablogsal
2021-10-07 11:00:29 -07:00
Christian Clauss
241bda785a
[doc] Fix typos found using codespell (GH-28744)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-10-05 23:48:44 +02:00
Terry Jan Reedy
71f8ff45c6
bpo-43914: Whats New 310: add new SyntaxError attributes (GH-28558)
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-09-25 11:04:13 +02:00
Victor Stinner
f4ccb79d52
bpo-43760: Document PyThreadState.use_tracing removal (GH-28527)
2021-09-23 16:38:31 +02:00
Pablo Galindo Salgado
1aaa859497
bpo-4356: Mention the new key arguments for the bisect module APIs in the 3.10 What's new (GH-28339)
2021-09-14 20:53:14 +01:00
Pablo Galindo Salgado
ab327f2929
bpo-44964: Correct the note about the f_lasti field (GH-28208)
2021-09-10 17:53:42 +02:00
D.Lintin
7366854135
Fix minor typo in 3.10.rst (GH-28253)
2021-09-09 12:02:01 -04:00
Pablo Galindo Salgado
fa2c0b85a8
bpo-44964: Add a note explaining the new semantics of f_last_i in frame objects (GH-28200)
2021-09-07 12:18:54 +01:00
Eric V. Smith
a1ba3597d2
Add What's New for dataclass keyword-only parameters. (GH-28158)
2021-09-04 14:58:17 -04:00