Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-83162: Rename re.error for better clarity. (#101677) | achhina | 2023-12-11 | 2 | -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 Waygood | 2023-12-11 | 14 | -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 Turner | 2023-12-10 | 2 | -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 Naoki | 2023-12-10 | 1 | -4/+4 |
| | |||||
* | gh-101100: Fix Sphinx warning in library/http.cookies.rst (#112908) | Hugo van Kemenade | 2023-12-10 | 2 | -21/+22 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Docs: Use 'f-strings' as header (#112888) | Hugo van Kemenade | 2023-12-10 | 1 | -2/+4 |
| | |||||
* | gh-101100: Improve documentation of `TracebackType` attributes (#112884) | Alex Waygood | 2023-12-09 | 6 | -33/+52 |
| | |||||
* | gh-101100: Fix Sphinx nitpicks in `library/tempfile.rst` (#112886) | Alex Waygood | 2023-12-09 | 2 | -24/+29 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-112758: Updated pathlib documentation for PurePath.match (#112814) | Taylor Packard | 2023-12-08 | 1 | -0/+3 |
| | |||||
* | gh-101100: Improve documentation for attributes on instance methods (#112832) | Alex Waygood | 2023-12-08 | 6 | -41/+76 |
| | |||||
* | gh-101100: Fix Sphinx nits in `library/contextlib.rst` (#112870) | Alex Waygood | 2023-12-08 | 2 | -8/+7 |
| | |||||
* | gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (#112836) | Alex Waygood | 2023-12-08 | 2 | -5/+5 |
| | |||||
* | Add a versionchanged directive for gh-94692 (GH-112846) | Serhiy Storchaka | 2023-12-08 | 1 | -0/+2 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101100: Silence Sphinx warnings when `ntpath` or `posixpath` are ↵ | Alex Waygood | 2023-12-07 | 4 | -5/+8 |
| | | | | referenced (#112833) | ||||
* | gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter ↵ | Eric Snow | 2023-12-07 | 2 | -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 Gao | 2023-12-07 | 1 | -1/+18 |
| | | | | improve docs (#111194) | ||||
* | gh-112730: Use color to highlight error locations (gh-112732) | Pablo Galindo Salgado | 2023-12-06 | 2 | -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 Waygood | 2023-12-06 | 2 | -23/+30 |
| | |||||
* | gh-101100: Improve documentation of code object attributes (#112781) | Alex Waygood | 2023-12-06 | 10 | -53/+112 |
| | |||||
* | gh-111545: Add Py_HashPointer() function (#112096) | Victor Stinner | 2023-12-06 | 2 | -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 Stinner | 2023-12-06 | 1 | -1/+4 |
| | |||||
* | gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters ↵ | Christopher Chavez | 2023-12-06 | 1 | -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 Waygood | 2023-12-06 | 2 | -32/+41 |
| | |||||
* | gh-101100: Properly document frame object attributes (#112735) | Alex Waygood | 2023-12-05 | 12 | -49/+88 |
| | |||||
* | Minor stylistic edit to the grouper recipe (gh112759) | Jurjen N. E. Bos | 2023-12-05 | 1 | -2/+2 |
| | |||||
* | gh-112328: [Enum] Make some private attributes public. (GH-112514) | Ethan Furman | 2023-12-05 | 2 | -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 Waygood | 2023-12-05 | 2 | -29/+37 |
| | | | | (#112737) | ||||
* | gh-81441: shutil.rmtree() FileNotFoundError race condition (GH-14064) | Jeffrey Kintscher | 2023-12-05 | 1 | -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 Tynan | 2023-12-05 | 1 | -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) | pan324 | 2023-12-05 | 1 | -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 Hong | 2023-12-05 | 1 | -0/+10 |
| | | | | | --- Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> | ||||
* | gh-112671: Fixing typo in the Macro Docs (GH-112715) | Amioplk | 2023-12-04 | 1 | -1/+1 |
| | | | Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE | ||||
* | gh-103363: Add follow_symlinks argument to `pathlib.Path.owner()` and ↵ | Kamil Turek | 2023-12-04 | 2 | -7/+21 |
| | | | | `group()` (#107962) | ||||
* | gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (#112703) | Alex Waygood | 2023-12-04 | 2 | -22/+21 |
| | |||||
* | gh-110275: Named tuple's __replace__() now raises TypeError for invalid ↵ | Serhiy Storchaka | 2023-12-04 | 1 | -0/+4 |
| | | | | arguments (GH-110299) | ||||
* | gh-65210: Add const qualifiers in PyArg_VaParseTupleAndKeywords() (GH-105958) | Serhiy Storchaka | 2023-12-04 | 3 | -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 Waygood | 2023-12-04 | 2 | -47/+67 |
| | |||||
* | bpo-34392: Add sys. _is_interned() (GH-8755) | Serhiy Storchaka | 2023-12-04 | 2 | -0/+19 |
| | |||||
* | gh-101100: Fix Sphinx warning in `library/gettext.rst` (#112668) | Hugo van Kemenade | 2023-12-03 | 2 | -8/+7 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (#112662) | Alex Waygood | 2023-12-03 | 5 | -9/+19 |
| | |||||
* | Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499) | Marco Aurélio A. Barbosa | 2023-12-03 | 1 | -1/+1 |
| | | | Use author link to 'The Perils of Floating Point'. | ||||
* | gh-112645: remove deprecation warning for use of onerror in shutil.rmtree ↵ | Irit Katriel | 2023-12-03 | 1 | -4/+3 |
| | | | | (#112659) | ||||
* | Run more `inspect.rst` code snippets in CI (#112654) | Alex Waygood | 2023-12-03 | 1 | -28/+38 |
| | |||||
* | gh-111545: Mention PEP 456 in PyHash_GetFuncDef() doc (#112647) | Victor Stinner | 2023-12-03 | 1 | -0/+3 |
| | |||||
* | gh-112316: improve docs for `inspect.signature` and `inspect.Signature` ↵ | Alex Waygood | 2023-12-03 | 1 | -36/+55 |
| | | | | (#112631) | ||||
* | gh-112139: Add `inspect.Signature.format` and use it in `pydoc` (#112143) | Nikita Sobolev | 2023-12-02 | 1 | -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 Kemenade | 2023-12-02 | 2 | -1/+8 |
| | |||||
* | gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` ↵ | Nikita Sobolev | 2023-12-02 | 1 | -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 Wen | 2023-12-01 | 1 | -4/+9 |
| | |||||
* | gh-110481: Fix Py_SET_REFCNT() integer overflow (#112174) | Victor Stinner | 2023-12-01 | 2 | -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) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ |