wulmer
0af247da09
gh-102111: Add link to string escape sequences in re module ( #106995 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-23 02:50:38 -06:00
Jochem Boersma
5e5a34ac3a
gh-107028: tiny textual changes in logging docs and docstrings (GH-107029)
2023-07-22 21:43:18 +01:00
Serhiy Storchaka
f8b7fe2f26
gh-106948: Add standard external names to nitpick_ignore (GH-106949)
...
It includes standard C types, macros and variables like "size_t",
"LONG_MAX" and "errno", and standard environment variables like "PATH".
2023-07-22 21:35:22 +03:00
Serhiy Storchaka
26e08dfdd7
gh-107008: Document the curses module variables LINES and COLS (GH-107011)
...
LINES and COLS referred in curses.update_lines_cols() documentations are
the module variables, not the environment variables.
2023-07-22 19:54:50 +03:00
Matthieu Caneill
6e5f2235f3
gh-83006: Document behavior of shutil.disk_usage for non-mounted filesystems on Unix ( #107031 )
2023-07-22 17:58:06 +02:00
wulmer
149748ea4f
Fix Sphinx warnings in re module docs ( #107044 )
2023-07-22 16:44:44 +01:00
Oliver Rew
c92ef6fe0e
gh-106967: remove Release and Date fields from whatsnew for 3.12 and 3.13 ( #107000 )
2023-07-22 14:57:51 +00:00
Jocelyn Castellano
e5252c6127
gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 ( #105404 )
2023-07-22 14:29:08 +00:00
Victor Stinner
756add081e
gh-106320: Document private C API removal in What's New 3.13 ( #107027 )
2023-07-22 15:30:13 +02:00
Joe Kaufeld
ed491d9f78
Reformat code block to make it easier to read ( #106965 )
2023-07-22 14:19:30 +02: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
Daniele Procida
f8f16d0cfc
gh-106996: Amend the introduction to the turtle graphics documentation ( #106997 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-07-22 04:31:44 -06:00
littlebutt's workshop
443d9b3033
gh-106976:alphabetise bullets by module name task1 ( #106982 )
2023-07-22 10:34:48 +02:00
Sebastiaan Zeeff
d55b4da10c
gh-106973: Change non-integral to non-integer in "3.12 What's New" ( #106984 )
2023-07-22 02:27:48 -06:00
Hugo van Kemenade
806d7c98a5
gh-101100: Docs: Check Sphinx warnings and fail if improved ( #106460 )
2023-07-22 08:12:43 +00:00
Victor Stinner
41ca164551
gh-106004: Add PyDict_GetItemRef() function ( #106005 )
...
* Add PyDict_GetItemRef() and PyDict_GetItemStringRef() functions.
Add these functions to the stable ABI version 3.13.
* Add unit tests on the PyDict C API in test_capi.
2023-07-21 23:10:51 +02:00
qqwqqw689
fd84ac0ee0
gh-106847: Add -X warn_default_encoding in sys.flags Doc ( #106854 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-07-21 15:47:58 +05:30
Serhiy Storchaka
4b9948617f
gh-106909: Use role :const: for referencing module constants (GH-106910)
2023-07-21 12:40:37 +03:00
Serhiy Storchaka
d036db728e
gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894)
2023-07-21 12:34:30 +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
Erlend E. Aasland
81861fd90b
Docs: Argument Clinic: Add Background and Tutorial top-level sections ( #106904 )
...
Add Background as a toplevel section with the following subsections:
- Background
- The goals of Argument Clinic
- Basic concepts and usage
Rename "Converting your first function" to Tutorial.
Add anchors for Background, Tutorial, and How-to Guides:
- :ref:`clinic-background`
- :ref:`clinic-tutorial`
- :ref:`clinic-howtos`
Link to these from within the Abstract.
Break the compatibility paragraph out of Abstract and make it a note.
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-07-21 08:05:41 +02:00
Gregory P. Smith
a31dea1feb
gh-106669: Revert "gh-102988: Detect email address parsing errors ... ( #105127 )" ( #106733 )
...
This reverts commit 18dfbd0357 .
Adds a regression test from the issue.
See https://github.com/python/cpython/issues/106669 .
2023-07-20 20:30:52 -07:00
Makonede
60e83968d5
Fix typo in tkinter docs ( #106936 )
...
Signed-off-by: Makonede <61922615+Makonede@users.noreply.github.com>
2023-07-21 00:07:06 +01:00
Jack Nelson
1e1f4e91a9
gh-106882: Note that asyncio.Server is only publicly exposed on 3.11+ ( #106901 )
...
And later versions of 3.10, 3.9
2023-07-19 20:56:26 +01:00
Barney Gale
c6c5665ee0
GH-100502: Add pathlib.PurePath.pathmod attribute (GH-106533)
...
This instance attribute stores the implementation of `os.path` used for
low-level path operations: either `posixpath` or `ntpath`.
2023-07-19 18:59:55 +01:00
Erlend E. Aasland
505eede38d
Docs: Argument Clinic: Group guides about default values ( #106872 )
...
Previous ToC layout (excerpt):
- How to use symbolic default values
...
- How to assign default values to parameter
- How to use the ``NULL`` default value
- How to use expressions as default values
New layout:
- How to assign default values to parameter
- The ``NULL`` default value
- Symbolic default values
- Expressions as default values
2023-07-19 00:46:50 +02:00
Irit Katriel
40f3f11a77
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c ( #106758 )
2023-07-18 19:42:44 +01:00
Victor Stinner
3535ef1eec
gh-106535: Document soft deprecations in What's New In Python 3.13 ( #106859 )
2023-07-18 17:13:51 +02:00
Erlend E. Aasland
4cb0b9c0a9
Docs: Normalise Argument Clinic advanced topics headings ( #106842 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-07-18 10:50:17 +02:00
Serhiy Storchaka
83ac128490
bpo-42327: C API: Add PyModule_Add() function (GH-23443)
...
It is a fixed implementation of PyModule_AddObject() which consistently
steals reference both on success and on failure.
2023-07-18 09:42:05 +03:00
Terry Jan Reedy
7aa89e505d
gh-106780: Add __match_args__ to tutorial example ( #106784 )
...
Add Point definition with this attribute before example
that needs it.
2023-07-16 23:36:03 -04:00
Raymond Hettinger
babb22da5a
Add more recipe tests. Make the factor recipe a bit faster and clearer. (GH-106817)
2023-07-16 21:37:07 -05:00
Jean-Baptiste Poupon
4dc593477a
Fix the french used in the email documentation (GH-106279)
...
* Fix the french used in the email documentation
The french used in one of the example was either machine translated a while ago or written by someone who does not speak french. Fixed it by using grammatically correct french.
2023-07-16 19:14:08 +02:00
Inada Naoki
e58960160f
Doc: fix section levels of devmode doc ( #106801 )
2023-07-16 21:23:54 +09:00
Simone Rubino
83bd568d2b
Doc: devmode: add -Xdev option to example ( #106253 )
2023-07-16 16:29:58 +09:00
Hugo van Kemenade
c02ee45031
Docs search: Replace jQuery with vanilla JavaScript ( #106743 )
...
* Replace jQuery with vanilla JavaScript
* Switch 'var' to 'const' or 'let'
2023-07-16 10:26:26 +03:00
Erlend E. Aasland
8c17729489
Docs: Normalize Argument Clinic How-To section capitalization ( #106788 )
2023-07-16 00:42:58 +02:00
Mathieu Dupuy
d46a42fd8e
faq/library: remove outdated section ( #105996 )
2023-07-15 13:23:10 -07:00
Raymond Hettinger
e2ec0bad67
Add more examples to the recipe docs (GH-106782)
...
Demonstrate that factor() works for large composites and large primes.
2023-07-15 14:43:09 -05:00
Inada Naoki
2566b74b26
gh-81283: compiler: remove indent from docstring ( #106411 )
...
Co-authored-by: Éric <merwok@netwok.org>
2023-07-15 19:33:32 +09:00
Alex Waygood
89ec0e9529
gh-106745: typing docs: Clarify that removal of PEP-585 aliases is not currently planned ( #106748 )
2023-07-14 19:49:02 +01:00
Jason R. Coombs
243fdcb40e
gh-106531: Remove importlib.resources._legacy ( #106532 )
...
* gh-106531: Remove importlib.resources._legacy
Syncs with importlib_resources 6.0.
* Remove documentation for removed functionality.
2023-07-14 13:38:28 -04:00
Charlie Zhao
89867d2491
gh-106446: Fix failed doctest in stdtypes ( #106447 )
...
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2023-07-14 03:38:03 -04:00
Nikita Sobolev
490295d651
gh-105626: Change the default return value of HTTPConnection.get_proxy_response_headers ( #105628 )
2023-07-13 23:55:49 -07:00
Ned Batchelder
f014f1567c
docs: clarify Path.suffix (GH-106650)
2023-07-13 20:24:54 +01:00
Alex Waygood
32718f908c
gh-106309: Deprecate typing.no_type_check_decorator ( #106312 )
2023-07-13 14:30:35 +01:00
Victor Stinner
42bc485a24
gh-105373: Elaborate Pending Removal in What's New in Python 3.13 ( #106675 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-07-12 12:28:10 +02:00
Hugo van Kemenade
e8ab0096a5
Add Plausible for docs metrics ( #106644 )
2023-07-12 05:35:24 +03:00
Mariusz Felisiak
f520804b03
gh-96165: Clarify passing ":memory:" in sqlite3.connect() ( #106451 )
2023-07-11 22:18:19 +02:00
Mariusz Felisiak
fc7ff1af45
gh-96165: Clarify omitting the FROM clause in SQLite queries ( #106513 )
2023-07-11 22:09:04 +02:00