summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* gh-101100: Fix Sphinx warnings for `fileno` (#111118)Hugo van Kemenade2023-10-238-13/+49
|
* Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963)Anthony Shaw2023-10-231-0/+2
|
* typo: missing line of output in pull parser example (#111068)Don Patterson2023-10-231-0/+1
|
* Fix typo in 3.13's whatsnew (#111215)Pablo Martí Gamboa2023-10-231-1/+1
|
* gh-110383: Italicize variable name (#111206)Nick2023-10-231-1/+1
|
* gh-110383: Added explanation about simplest regex use case for quantifiers. ↵Nick2023-10-231-0/+3
| | | | | | (#111110) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-109975: What's new in 3.13: Add module headers to removals and sort (#110994)Hugo van Kemenade2023-10-221-66/+107
|
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)Nikita Sobolev2023-10-222-4/+11
| | | | | | | | | | | * gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` * Update Doc/library/asyncio-eventloop.rst * Update Doc/library/asyncio-eventloop.rst --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173)Maciej Olko2023-10-222-2/+1
|
* gh-109975: What's new in 3.13: Add PEP 594 to release highlights (#110993)Hugo van Kemenade2023-10-221-113/+127
|
* gh-111123: symtable should visit exception handlers before the else block ↵Irit Katriel2023-10-211-0/+4
| | | | (#111142)
* gh-106310 - document the __signature__ attribute (#106311)Gouvernathor2023-10-201-0/+5
| | | | | Document the __signature__ attribute Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-111089: PyUnicode_AsUTF8AndSize() sets size on error (#111106)Victor Stinner2023-10-201-2/+2
| | | | On error, PyUnicode_AsUTF8AndSize() now sets the size argument to -1, to avoid undefined value.
* gh-111089: Add PyUnicode_AsUTF8() to the limited C API (#111121)Victor Stinner2023-10-202-0/+4
| | | | | | | | Add PyUnicode_AsUTF8() function to the limited C API. multiprocessing posixshmem now uses PyUnicode_AsUTF8() instead of PyUnicode_AsUTF8AndSize(): the extension is built with the limited C API. The function now raises an exception if the filename contains an embedded null character instead of truncating silently the filename.
* gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL (#111091)Victor Stinner2023-10-202-0/+14
| | | | | | | | | * PyUnicode_AsUTF8() now raises an exception if the string contains embedded null characters. * Update related C API tests (test_capi.test_unicode). * type_new_set_doc() uses PyUnicode_AsUTF8AndSize() to silently truncate doc containing null bytes. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-101100: Fix Sphinx warnings in `library/tty.rst` (#111079)Hugo van Kemenade2023-10-202-5/+14
| | | Fix Sphinx warnings in library/tty.rst
* gh-85283: Build posixshmem extension with Limited C API (#111087)Victor Stinner2023-10-191-2/+3
| | | | | | | Build the _multiprocessing.posixshmem extension with the Limited C API. * Add <errno.h> include. * Replace PyUnicode_AsUTF8() with PyUnicode_AsUTF8AndSize().
* gh-109510: Clearly explain "Which Docstrings Are Examined" (#109696)Unique-Usman2023-10-191-3/+24
| | | | | | | Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` (#110112)Adam Turner2023-10-1910-57/+57
|
* GH-101100: Fix reference warnings for ``__getitem__`` (#110118)Adam Turner2023-10-1918-36/+36
|
* gh-101100: Fix sphinx warnings in `library/getpass.rst` (#110461)Nikita Sobolev2023-10-192-2/+1
|
* gh-101100: Fix sphinx warnings in `library/codecs.rst` (#110979)Nikita Sobolev2023-10-192-34/+36
|
* GH-103082: Clean up the sys.monitoring docs (GH-110532)Tian Gao2023-10-182-101/+165
|
* GH-104232: Fix statement about trace return values (GH-110516)Tian Gao2023-10-181-3/+2
|
* GH-102895 Add an option local_exit in code.interact to block exit() from ↵Tian Gao2023-10-181-4/+11
| | | | terminating the whole process (GH-102896)
* gh-109975: What's new in 3.13: longer full support (#110997)Hugo van Kemenade2023-10-181-0/+5
|
* Regen Doc/requirements-oldest-sphinx.txt (#111012)Victor Stinner2023-10-181-2/+1
| | | | Fix https://github.com/python/cpython/security/dependabot/4: use urllib3 version 2.0.7.
* gh-85283: Build _uuid extension with limited C API (#111010)Victor Stinner2023-10-171-2/+2
|
* gh-85283: Build _scproxy extension with limited C API (#111008)Victor Stinner2023-10-171-2/+2
| | | | * Replace Py_SETREF(v, NULL) with Py_CLEAR(v). * Reformat the code.
* gh-85283: Build resource extension with limited C API (#110989)Victor Stinner2023-10-171-3/+3
| | | | | | * Replace PyStructSequence_SET_ITEM() with PyStructSequence_SetItem(). * Replace PyTuple_GET_SIZE() with PyTuple_Size(). * Replace PyTuple_GET_ITEM() with PyTuple_GetItem().
* gh-85283: Add PySys_Audit() to the limited C API (#108571)Victor Stinner2023-10-172-0/+7
| | | | | | | | | | The PySys_Audit() function was added in Python 3.8 by the PEP 578 "Python Runtime Audit Hooks". Add also PySys_AuditTuple() to the limited C API, function added to Python 3.13. Move non-limited "PerfMap" C API from Include/sysmodule.h to Include/cpython/sysmodule.h.
* gh-85283: Build winsound extension with limited C API (#110978)Victor Stinner2023-10-171-1/+1
| | | Replace type->tp_name with PyType_GetQualName().
* gh-107457: update dis documentation with changes in 3.12 (#108900)Matthieu Dartiailh2023-10-171-16/+43
|
* gh-85283: Build md5 extension with limited C API (#110967)Victor Stinner2023-10-171-2/+3
| | | | | * Replace _Py_strhex() with few lines of code. * Replace _PyType_GetModuleState() with PyType_GetModuleState(). * Fix make check-c-globals.
* gh-85283: Build errno and _ctypes_test with limited C API (#110955)Victor Stinner2023-10-171-2/+2
| | | _testimportmultiple is now built with limited C API version 3.2.
* gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570)Victor Stinner2023-10-172-0/+9
| | | | | | | | | Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limited C API, like grp and pwd. Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-85283: Build _testimportmultiple with limited C API (#110954)Victor Stinner2023-10-171-2/+2
|
* C-API docs: Clarify the size of arenas (#110895)Mienxiu2023-10-161-1/+2
| | | | | | Clarify the size of arenas From 3.10.0 alpha 7, the pymalloc allocator uses arenas with a fixed size of 1 MiB on 64-bit platforms instead of 256 KiB on 32-bit platforms.
* gh-110527: Improve `PySet_Clear` docs (#110528)Nikita Sobolev2023-10-161-1/+3
|
* sysconfig docs: fix broken link to the source code (#110920)Karolina Surma2023-10-161-1/+1
| | | It's now a package. See: https://github.com/python/cpython/commit/4a53a397c311567f05553bc25a28aebaba4f6f65
* gh-110886 Doc: add a link to BNF Wikipedia article (#110887)partev2023-10-151-1/+2
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-110722: Add PYTHON_PRESITE to import a module before site.py is run (#110769)Łukasz Langa2023-10-143-7/+61
|
* gh-101100: Fix sphinx warnings in `library/time.rst` (#110862)Nikita Sobolev2023-10-142-34/+60
|
* gh-88434: Emit deprecation warnings for non-integer numbers in gettext if ↵Serhiy Storchaka2023-10-141-0/+4
| | | | translation not found (GH-110574)
* gh-101100: Fix sphinx warnings in `usage/cmdline.rst` (#110841)Nikita Sobolev2023-10-142-9/+9
|
* gh-110815: Support non-ASCII keyword names in PyArg_ParseTupleAndKeywords() ↵Serhiy Storchaka2023-10-142-2/+11
| | | | | | | (GH-110816) It already mostly worked, except in the case when invalid keyword argument with non-ASCII name was passed to function with non-ASCII parameter names. Then it crashed in the debug mode.
* gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)paskozdilar2023-10-131-3/+3
| | | | | | | | | | | | | * Remove redundant versionchanged * Add missing versionchanged * Update Doc/library/asyncio-task.rst Co-authored-by: Kumar Aditya <kumaraditya@python.org> --------- Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)Petr Viktorin2023-10-132-15/+32
| | | | | | | | | | | * gh-110803: Reorganize docs for what PyType_Slot doesn't cover - Cover the offset fields first - Mention the old alternative for MANAGED flags, which is needed to support older Pythons - De-emphasize the internal flags: use an inline list. - Add a note to PyMemberDef saying what to do with it * Remove an older draft...
* Fix the pyspecific SOURCE_URI (#110811)T. Wouters2023-10-131-1/+1
|
* Remove unnecessary escape in Doc/library/enum.rst (GH-110780)InSync2023-10-121-1/+1
|