summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() ↵Victor Stinner2023-12-152-4/+28
| | | | | | | | | | (#111116) Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). Add an optional 'strict' parameter to getaddresses() and parseaddr() functions. Patch by Thomas Dwyer. Co-Authored-By: Thomas Dwyer <github@tomd.tel>
* gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (#113125)Alex Waygood2023-12-153-19/+24
|
* Optimize unique_justseen() recipe for a common case. (gh-113147)Raymond Hettinger2023-12-141-0/+2
|
* gh-101100: Cleanup `mailbox` docs (#113124)Alex Waygood2023-12-142-123/+139
|
* gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (#112373)Hugo van Kemenade2023-12-142-139/+138
|
* Remove itertool recipe with low pedagogical value (gh-113138)Raymond Hettinger2023-12-141-32/+32
|
* gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (#113116)Alex Waygood2023-12-143-41/+43
|
* Add recipe for totient() to demonstrate unique_justseen() and factor(). ↵Raymond Hettinger2023-12-141-0/+27
| | | | (gh-113131)
* gh-105912: document gotcha with using os.fork on macOS (#112871)Ronald Oussoren2023-12-143-0/+21
| | | | | | | | | | | | | * gh-105912: document gotcha with using os.fork on macOS Using ``fork(2)`` on macOS when also using higher-level system APIs in the parent proces can crash on macOS because those system APIs are not written to handle this usage pattern. There's nothing we can do about this other than documenting the problem. Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-113113: doc: use less ambiguously named variable (gh-113114)jeremy-dolan2023-12-141-3/+3
|
* gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (#113106)Alex Waygood2023-12-143-38/+75
|
* gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and ↵Alex Waygood2023-12-143-5/+7
| | | | `reference/simple_stmts.rst` (#113107)
* gh-112730: Update docs for colour env vars (#112837)Hugo van Kemenade2023-12-142-2/+6
|
* gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on Windows ↵Serhiy Storchaka2023-12-142-1/+14
| | | | (GH-113049)
* Fixing typo in DocTestRunner docs (GH-112326)Daniel Wysocki2023-12-141-1/+1
|
* gh-90890: Reorder mailbox.Maildir method documentation (GH-113071)Stephen Gildea2023-12-141-40/+40
| | | | | | | | | | When new mailbox.Maildir methods were added for 3.13.0a2, their documentation was added at the end of the mailbox.Maildir section instead of grouping them with other methods Maildir adds to Mailbox. This commit moves the new methods' documentation adjacent to documentation for existing Maildir-specific methods, so that the "special remarks" for common methods remains at the end.
* gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960)Christoph Anton Mitterer2023-12-131-1/+4
| | | | | | | | | | | | | | | | POSIX specifies that implementations are not required to support changing the file mode of symbolic links, but may do so. Consequently, `lchmod()` is not part of POSIX (but mentioned for implementations which do support the above). The current wording of the availability of `os.lchmod()` is rather vague and improved to clearly tell which POSIX/Unix/BSD-like support the function in general (those that support changing the file mode of symbolic links). Further, some examples of major implementations are added. Data for the BSDs taken from their online manpages. Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Docs: Fix external link to devguide.python.org (GH-112899)Miro Hrončok2023-12-131-1/+1
|
* gh-101100: Improve docs on exception attributes (GH-113057)Alex Waygood2023-12-136-67/+115
| | | | | | | | | | | * Improve docs on exception attributes * thanks sphinx-lint * fix doctests * argh, okay, give up on doctests * Various improvements
* Use match/case in grouper() recipe (gh-113059)Raymond Hettinger2023-12-131-8/+9
| | | Use match/case in grouper() reciper
* gh-112962: in dis module, put cache information in the Instruction instead ↵Irit Katriel2023-12-131-3/+15
| | | | of creating fake Instructions to represent it (#113016)
* gh-101100: Fix Sphinx warning in references with asterisks (#113029)Hugo van Kemenade2023-12-1317-44/+46
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101336: Add keep_alive keyword arg for asyncio create_server() (#112485)beavailable2023-12-131-0/+8
|
* gh-101100: Further improve docs on function attributes (#113001)Alex Waygood2023-12-122-4/+7
|
* gh-112999: Replace the outdated "deprecated" directives with ↵Serhiy Storchaka2023-12-123-17/+12
| | | | "versionchanged" (GH-113000)
* gh-87286: Add a number of LOG_* constants to syslog (#24432)Ronald Oussoren2023-12-122-18/+57
| | | | | | | | | | | | | | | | | * bpo-43120: Add a number of LOG_* constants to syslog This adds a number of syslog facilities to the syslogmodule.c. These values are available on macOS. * Switch contant documentation to the data directive This fixes a CI warning and matches the pattern used in the documentation for ``os``. * Update Doc/library/syslog.rst Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* 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
|