summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-123621: Fix `datamodel.rst` with proper `dict` notation (#123648)Lipták Attila (Flash)2024-09-031-1/+1
|
* gh-123579: Document exclamation token (#123612)Shaygan Hooshyari2024-09-031-3/+3
|
* gh-123572: Fix key codes in VK_MAP in windows_console.py (#122692)devdanzin2024-09-032-4/+7
|
* gh-121804: always show error location for SyntaxError's in basic repl (#123202)Sergey B Kirpichev2024-09-033-0/+46
|
* gh-107954, PEP 741: Add PyInitConfig C API (#123502)Victor Stinner2024-09-039-32/+976
| | | Add Doc/c-api/config.rst documentation.
* gh-123580: Fix `signed_number` token in documentation (GH-123582)CBerJun2024-09-031-1/+1
| | | Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* gh-123430: Add dark mode support to pages generated by http.server (#123475)Yorik Hansen2024-09-033-0/+15
| | | | | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-121313: multiprocessing: simplify by increasing the connection buffer ↵Inada Naoki2024-09-033-17/+5
| | | | | | | | size to 64KiB (GH-123559) Increases the multiprocessing connection buffer size from 8k to 64k for efficiency, without overallocating. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* Fix typos in warnings, docstrings, comments and text files (#123597)abstractee2024-09-038-8/+8
|
* gh-107954, PEP 741: Add PyConfig_Get()/Set() functions (#123472)Victor Stinner2024-09-0219-257/+1466
| | | | | | | | | | | Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. Add visibility and "sys spec" to config and preconfig specifications. _PyConfig_AsDict() now converts PyConfig.xoptions as a dictionary. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-123458: Skip SBOM generation if no git repository is detected (#123507)Seth Michael Larson2024-09-021-0/+18
|
* gh-121404: enforce that codegen doesn't access compiler, and compiler ↵Irit Katriel2024-09-021-85/+129
| | | | doesn't use codegen macros (#123575)
* gh-123091: Use more _Py_IsImmortalLoose() (GH-123602)Petr Viktorin2024-09-024-5/+5
| | | | | | | Switch more _Py_IsImmortal(...) assertions to _Py_IsImmortalLoose(...) The remaining calls to _Py_IsImmortal are in free-threaded-only code, initialization of core objects, tests, and guards that fall back to code that works with mortal objects.
* GH-119518: Stop interning strings in pathlib GH-123356)Barney Gale2024-09-023-11/+3
| | | | Remove `sys.intern(str(x))` calls when normalizing a path in pathlib. This speeds up `str(Path('foo/bar'))` by about 10%.
* gh-123409: fix `IPv6Address.reverse_pointer` for IPv4-mapped addresses ↵Bénédikt Tran2024-09-023-12/+53
| | | | | (GH-123419) Fix functionality that was broken with better textual representation for IPv4-mapped addresses (gh-87799)
* gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572)Donghee Na2024-09-024-0/+19
|
* gh-123091: Use _Py_IsImmortalLoose() (#123511)Victor Stinner2024-09-027-17/+17
| | | | Use _Py_IsImmortalLoose() in bytesobject.c, typeobject.c and ceval.c.
* gh-118508: Clarify which characters are matched by `\s` (#119155)Nice Zombies2024-09-021-4/+3
| | | Clarify re syntax
* gh-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563)sobolevn2024-09-025-10/+59
|
* gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in ↵sobolevn2024-09-021-1/+2
| | | | `dataclasses` (#123571)
* build(deps): bump hypothesis from 6.108.10 to 6.111.2 in /Tools (#123567)dependabot[bot]2024-09-021-1/+1
| | | | Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* gh-109975: Remove dangling angle bracket from 3.13.rst (#123589)Rafael Fontenelle2024-09-021-1/+1
| | | Remove dangling angle bracket from 3.13.rst
* Remove irrelevant detail from example code. (gh-123587)Raymond Hettinger2024-09-021-19/+10
|
* Simplify Property() recipe to focus on the essentials (gh-123585)Raymond Hettinger2024-09-011-20/+6
|
* gh-123553: Fix compile warning in `compile.c` (#123578)sobolevn2024-09-011-0/+2
|
* gh-118761: Speedup pathlib import by deferring shutil (#123520)Daniel Hollas2024-09-011-2/+4
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-123341: Support `tkinter.Event` type subcript (#123353)Yoda2024-09-013-0/+9
| | | | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* Bump types-setuptools from 71.1.0.20240726 to 74.0.0.20240831 in /Tools ↵dependabot[bot]2024-09-011-1/+1
| | | | | | (#123565) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` ↵sobolevn2024-09-012-4/+47
| | | | (#123342)
* Bump mypy from 1.11.1 to 1.11.2 in /Tools (#123566)dependabot[bot]2024-09-011-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-psutil from 6.0.0.20240621 to 6.0.0.20240901 in /Tools (#123564)dependabot[bot]2024-09-011-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* gh-123553: Fix compiler warning in `Python/compile.c` (#123554)Kirill Podoprigora2024-09-011-0/+2
|
* gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (#123551)jlallas3842024-09-011-1/+1
|
* GH-109975: Copyedit 3.13 What's New: Removals (#123529)Adam Turner2024-09-011-155/+175
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-123494: Improve documentation for ``webbrowser`` return types (#123495)Aarni Koskela2024-09-012-0/+10
| | | Document the return value for ``webbrowser.open*()``.
* gh-115238: Remove a redundant f-string in graphlib (#115239)Luka2024-09-011-1/+1
|
* gh-123517: Remove unnecessary ``:meth:`` parentheses (#123518)Wei-Hsiang (Matt) Wang2024-09-0155-145/+145
|
* gh-121285: Remove backtracking when parsing tarfile headers (GH-121286)Seth Michael Larson2024-08-313-35/+112
| | | | | | | | * Remove backtracking when parsing tarfile headers * Rewrite PAX header parsing to be stricter * Optimize parsing of GNU extended sparse headers v0.0 Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* Enable colour for doctest on GitHub Actions (#123536)Hugo van Kemenade2024-08-311-0/+3
|
* gh-123309: Remove check for redefined memo entry in pickletools.dis() ↵Serhiy Storchaka2024-08-313-24/+11
| | | | | | (GH-123374) Such pickles are supported by the Unpickler even if the Pickler does not produce them.
* gh-76960: Fix urljoin() and urldefrag() for URIs with empty components ↵Serhiy Storchaka2024-08-313-52/+140
| | | | | | | | | | | | (GH-123273) * urljoin() with relative reference "?" sets empty query and removes fragment. * Preserve empty components (authority, params, query, fragment) in urljoin(). * Preserve empty components (authority, params, query) in urldefrag(). Also refactor the code and get rid of double _coerce_args() and _coerce_result() calls in urljoin(), urldefrag(), urlparse() and urlunparse().
* gh-123309: Add more tests for the pickletools module (GH-123355)Serhiy Storchaka2024-08-311-0/+310
| | | Add tests for genops() and dis().
* gh-123407: Enable translating literal and code blocks (#123408)Maciej Olko2024-08-311-0/+1
|
* gh-108172: do not override OS preferred browser if it is a super-string of a ↵Oded Arbel2024-08-312-1/+2
| | | | | | | | | | | known browser (GH-113011) When checking if the registering browser is the "OS preferred browser", do not use a substring search - that makes no sense: one can have a preferred browser that looks like a super-string of a known browser, e.g. "firefox-nightly" vs "firefox". https://github.com/python/cpython/issues/108172 explains in more detail, and lays out a potential better future enhancement for this case of just using xdg-open. We'll go with this for now. --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-121313: Limit the reading size from pipes to their default buffer size on ↵Alexander P.2024-08-312-3/+19
| | | | | POSIX systems (GH-121315) See https://github.com/python/cpython/issues/121313 for analysis, but this greatly reduces memory overallocation and overhead when multiprocessing is sending non-small data over its pipes between processes.
* Make self turtledemo codeowner (#123524)Terry Jan Reedy2024-08-311-1/+2
|
* gh-121404: rearrange code in compile.c so that codegen functions come first ↵Irit Katriel2024-08-301-1033/+1071
| | | | and compiler functions second (#123510)
* gh-123440: Improve error message for `except as` used with not a name (#123442)sobolevn2024-08-304-972/+1282
|
* gh-122854: Add Py_HashBuffer() function (#122855)Victor Stinner2024-08-3017-25/+80
|
* gh-121645: Add PyBytes_Join() function (#121646)Victor Stinner2024-08-3010-12/+101
| | | | * Replace _PyBytes_Join() with PyBytes_Join(). * Keep _PyBytes_Join() as an alias to PyBytes_Join().