summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* GH-83162: Rename re.error for better clarity. (#101677)achhina2023-12-112-2/+11
| | | | | | | | | Renamed re.error for clarity, and kept re.error for backward compatibility. Updated idlelib files at TJR's request. --------- Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-101100: Improve documentation on function attributes (#112933)Alex Waygood2023-12-1114-130/+159
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-101986: Support translation for Limited/Unstable API & Stable ABI (#107680)Adam Turner2023-12-102-10/+20
| | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Doc: c-api: fix order of PyMemberDef fields (#112879)Inada Naoki2023-12-101-4/+4
|
* gh-101100: Fix Sphinx warning in library/http.cookies.rst (#112908)Hugo van Kemenade2023-12-102-21/+22
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Docs: Use 'f-strings' as header (#112888)Hugo van Kemenade2023-12-101-2/+4
|
* gh-101100: Improve documentation of `TracebackType` attributes (#112884)Alex Waygood2023-12-096-33/+52
|
* gh-101100: Fix Sphinx nitpicks in `library/tempfile.rst` (#112886)Alex Waygood2023-12-092-24/+29
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-112758: Updated pathlib documentation for PurePath.match (#112814)Taylor Packard2023-12-081-0/+3
|
* gh-101100: Improve documentation for attributes on instance methods (#112832)Alex Waygood2023-12-086-41/+76
|
* gh-101100: Fix Sphinx nits in `library/contextlib.rst` (#112870)Alex Waygood2023-12-082-8/+7
|
* gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (#112836)Alex Waygood2023-12-082-5/+5
|
* Add a versionchanged directive for gh-94692 (GH-112846)Serhiy Storchaka2023-12-081-0/+2
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101100: Silence Sphinx warnings when `ntpath` or `posixpath` are ↵Alex Waygood2023-12-074-5/+8
| | | | referenced (#112833)
* gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter ↵Eric Snow2023-12-072-0/+19
| | | | | | | (gh-112853) As of gh-112661, the threading module expects the _thread module to have a _is_main_interpreter(), which is used in the internal threading._shutdown(). This change causes a problem for anyone that replaces the _thread module with a custom one (only if they don't provide _is_main_interpreter()). They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New". This also forward-ports the "What's New" entry from 3.12 (gh-112850). Note that we do not also forward-port the fix in that PR. The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.
* gh-102980: Redirect output of pdb's `interact` command, add tests and ↵Tian Gao2023-12-071-1/+18
| | | | improve docs (#111194)
* gh-112730: Use color to highlight error locations (gh-112732)Pablo Galindo Salgado2023-12-062-0/+33
| | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-101100: Fix Sphinx nitpicks in `library/reprlib.rst` (#112811)Alex Waygood2023-12-062-23/+30
|
* gh-101100: Improve documentation of code object attributes (#112781)Alex Waygood2023-12-0610-53/+112
|
* gh-111545: Add Py_HashPointer() function (#112096)Victor Stinner2023-12-062-0/+13
| | | | | * Implement _Py_HashPointerRaw() as a static inline function. * Add Py_HashPointer() tests to test_capi.test_hash. * Keep _Py_HashPointer() function as an alias to Py_HashPointer().
* gh-108223: Refer to PEP 703 as Free Threading (#112780)Victor Stinner2023-12-061-1/+4
|
* gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters ↵Christopher Chavez2023-12-061-3/+3
| | | | | | | | in slot typedefs table (GH-112742) In the slot typedefs table, the parameter of `destructor` and the first parameter of `traverseproc` should both be `PyObject *` rather than `void *`. Same for `inquiry`.
* gh-101100: Fix most Sphinx nitpicks in the glossary and `stdtypes.rst` (#112757)Alex Waygood2023-12-062-32/+41
|
* gh-101100: Properly document frame object attributes (#112735)Alex Waygood2023-12-0512-49/+88
|
* Minor stylistic edit to the grouper recipe (gh112759)Jurjen N. E. Bos2023-12-051-2/+2
|
* gh-112328: [Enum] Make some private attributes public. (GH-112514)Ethan Furman2023-12-052-41/+86
| | | | | | | | | | | | | * [Enum] Make some private attributes public. - ``_EnumDict`` --> ``EnumDict`` - ``EnumDict._member_names`` --> ``EnumDict.member_names`` - ``Enum._add_alias_`` - ``Enum._add_value_alias_`` --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs ↵Alex Waygood2023-12-052-29/+37
| | | | (#112737)
* gh-81441: shutil.rmtree() FileNotFoundError race condition (GH-14064)Jeffrey Kintscher2023-12-051-0/+4
| | | | | | | Ignore missing files and directories while enumerating directory entries in shutil.rmtree(). Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-62897: Update PyUnicode C API parameter names (GH-12680)Rune Tynan2023-12-051-91/+91
| | | | | Standardize PyUnicode C API parameter names across the documentation. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-82300: Add track parameter to multiprocessing.shared_memory (#110778)pan3242023-12-051-16/+35
| | | | | | | | | | Add a track parameter to shared memory to allow resource tracking via the side-launched resource tracker process to be disabled on platforms that use it (POSIX). This allows people who do not want automated cleanup at process exit because they are using the shared memory with processes not participating in Python's resource tracking to use the shared_memory API. Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-102130: Support tab completion in cmd for Libedit. (GH-107748)Constantin Hong2023-12-051-0/+10
| | | | | --- Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
* gh-112671: Fixing typo in the Macro Docs (GH-112715)Amioplk2023-12-041-1/+1
| | | Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
* gh-103363: Add follow_symlinks argument to `pathlib.Path.owner()` and ↵Kamil Turek2023-12-042-7/+21
| | | | `group()` (#107962)
* gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (#112703)Alex Waygood2023-12-042-22/+21
|
* gh-110275: Named tuple's __replace__() now raises TypeError for invalid ↵Serhiy Storchaka2023-12-041-0/+4
| | | | arguments (GH-110299)
* gh-65210: Add const qualifiers in PyArg_VaParseTupleAndKeywords() (GH-105958)Serhiy Storchaka2023-12-043-3/+35
| | | | | | | | | | | Change the declaration of the keywords parameter in functions PyArg_ParseTupleAndKeywords() and PyArg_VaParseTupleAndKeywords() from `char **` to `char * const *` in C and `const char * const *` in C++. It makes these functions compatible with argument of type `const char * const *`, `const char **` or `char * const *` in C++ and `char * const *` in C without explicit type cast. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (#112669)Alex Waygood2023-12-042-47/+67
|
* bpo-34392: Add sys. _is_interned() (GH-8755)Serhiy Storchaka2023-12-042-0/+19
|
* gh-101100: Fix Sphinx warning in `library/gettext.rst` (#112668)Hugo van Kemenade2023-12-032-8/+7
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (#112662)Alex Waygood2023-12-035-9/+19
|
* Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499)Marco Aurélio A. Barbosa2023-12-031-1/+1
| | | Use author link to 'The Perils of Floating Point'.
* gh-112645: remove deprecation warning for use of onerror in shutil.rmtree ↵Irit Katriel2023-12-031-4/+3
| | | | (#112659)
* Run more `inspect.rst` code snippets in CI (#112654)Alex Waygood2023-12-031-28/+38
|
* gh-111545: Mention PEP 456 in PyHash_GetFuncDef() doc (#112647)Victor Stinner2023-12-031-0/+3
|
* gh-112316: improve docs for `inspect.signature` and `inspect.Signature` ↵Alex Waygood2023-12-031-36/+55
| | | | (#112631)
* gh-112139: Add `inspect.Signature.format` and use it in `pydoc` (#112143)Nikita Sobolev2023-12-021-0/+11
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Docs: Use sphinx-notfound-page to show a nicer 404 page (#111084)Hugo van Kemenade2023-12-022-1/+8
|
* gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` ↵Nikita Sobolev2023-12-021-19/+18
| | | | | (#112317) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097)William Wen2023-12-011-4/+9
|
* gh-110481: Fix Py_SET_REFCNT() integer overflow (#112174)Victor Stinner2023-12-012-0/+5
| | | | | | | | | | | | | | If Py_NOGIL is defined and Py_SET_REFCNT() is called with a reference count larger than UINT32_MAX, make the object immortal. Set _Py_IMMORTAL_REFCNT constant type to Py_ssize_t to fix the following compiler warning: Include/internal/pycore_global_objects_fini_generated.h:14:24: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned int' [-Wsign-compare] if (Py_REFCNT(obj) < _Py_IMMORTAL_REFCNT) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~