summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump sphinx-lint to v0.8.1 (#110933)Alex Waygood2023-10-171-3/+2
|
* gh-85283: Build errno and _ctypes_test with limited C API (#110955)Victor Stinner2023-10-175-40/+45
| | | _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-178-6/+39
| | | | | | | | | 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-173-4/+8
|
* gh-109693: Update _gil_runtime_state.locked to use pyatomic.h (gh-110836)Donghee Na2023-10-168-18/+86
|
* gh-84570: Factor Out _channel_send_wait() (gh-110949)Eric Snow2023-10-161-45/+43
| | | This makes several subsequent changes cleaner.
* gh-107450: Remove unnecessary overflow check in parser error handler (#110940)Lysandros Nikolaou2023-10-161-6/+0
|
* gh-110905: [Enum] minor fixes and cleanup (GH-110906)Pieter Eendebak2023-10-162-6/+4
|
* 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-110864: TypeVar constructor: Partially revert gh-110784, `constraints` ↵Nikita Sobolev2023-10-161-20/+14
| | | | cannot be `NULL` (#110922)
* Enable ruff on several more files in `Lib/test` (#110929)Alex Waygood2023-10-166-21/+16
|
* gh-107450: Check for overflow in the tokenizer and fix overflow test (#110832)Lysandros Nikolaou2023-10-164-22/+40
| | | | Co-authored-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-110912: Correctly display tracebacks for MemoryError exceptions using the ↵Pablo Galindo Salgado2023-10-163-4/+14
| | | | traceback module (#110921)
* gh-110907: AC: Disallow using `*` with vararg (#110908)Nikita Sobolev2023-10-164-4/+26
|
* gh-110923: Fix silently skipped tests in test__opcode.py (#110926)Alex Waygood2023-10-162-2/+9
|
* gh-110527: Improve `PySet_Clear` docs (#110528)Nikita Sobolev2023-10-161-1/+3
|
* gh-110864: Fix _PyArg_UnpackKeywordsWithVararg overwriting vararg with NULL ↵Nikita Sobolev2023-10-165-2/+130
| | | | (#110868)
* 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-108791: Fix `pdb` CLI invalid argument handling (#108816)Radislav Chugunov2023-10-163-2/+24
|
* regrtest: Prepend 'use' options in --{fast,slow}-ci (GH-110363)Zachary Ware2023-10-152-7/+11
| | | This allows individual resources to be disabled without having to explicitly re-enable all others.
* 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>
* Lint: Include test_monitoring.py for Ruff (#110898)Hugo van Kemenade2023-10-151-2/+0
|
* gh-84583: Make pdb enter post-mortem mode even for SyntaxError (#110883)Tian Gao2023-10-153-7/+20
|
* gh-110722: Add PYTHON_PRESITE to import a module before site.py is run (#110769)Łukasz Langa2023-10-148-7/+178
|
* bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825)Serhiy Storchaka2023-10-144-258/+326
| | | | | | | zipinfo now supports the full range of values in the TZ string determined by RFC 8536 and detects all invalid formats. Both Python and C implementations now raise exceptions of the same type on invalid data.
* gh-101100: Fix sphinx warnings in `library/time.rst` (#110862)Nikita Sobolev2023-10-142-34/+60
|
* remove redundant call to attach_loop in watcher (#110847)Thomas Grainger2023-10-141-2/+0
|
* gh-110715: Add missing import in zipfile (gh-110822)Kirill Podoprigora2023-10-142-7/+19
|
* gh-109747: Improve errors for unsupported look-behind patterns (GH-109859)Serhiy Storchaka2023-10-146-13/+46
| | | | | | Now re.error is raised instead of OverflowError or RuntimeError for too large width of look-behind pattern. The limit is increased to 2**32-1 (was 2**31-1).
* gh-107705: Fix file leak in test_tkinter in the C locale (GH-110507)Serhiy Storchaka2023-10-141-5/+10
|
* gh-88434: Emit deprecation warnings for non-integer numbers in gettext if ↵Serhiy Storchaka2023-10-144-12/+32
| | | | translation not found (GH-110574)
* gh-101100: Fix sphinx warnings in `usage/cmdline.rst` (#110841)Nikita Sobolev2023-10-142-9/+9
|
* gh-110628: Add tests for PyLong C API (GH-110629)Serhiy Storchaka2023-10-143-17/+600
|
* gh-110392: Fix tty functions (GH-110642)Serhiy Storchaka2023-10-143-2/+12
| | | | | | | | * tty.setraw() and tty.setcbreak() previously returned partially modified list of the original tty attributes. Now they return the correct list of the original tty attributes * tty.cfmakeraw() and tty.cfmakecbreak() now make a copy of the list of special characters before modifying it.
* gh-110815: Support non-ASCII keyword names in PyArg_ParseTupleAndKeywords() ↵Serhiy Storchaka2023-10-145-3/+64
| | | | | | | (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.
* regrtest: --fast-ci/slow-ci no longer imply --rerun-fail (#110849)Victor Stinner2023-10-142-2/+0
|
* gh-109693: Update pyruntimestate._finalizing to use pyatomic.h (gh-110837)Donghee Na2023-10-131-4/+3
|
* gh-110697: test_os TimerfdTests uses selectors (#110789)Victor Stinner2023-10-131-102/+67
| | | | | | | | | Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.read_count_signaled() method.
* gh-110771: Decompose run_forever() into parts (#110773)Russell Keith-Magee2023-10-134-31/+95
| | | Effectively introduce an unstable, private (really: protected) API for subclasses that want to override `run_forever()`.
* Bump sphinx-lint to 0.7.0 (#110830)Alex Waygood2023-10-131-3/+2
|
* 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-110815: Improve tests for PyArg_ParseTupleAndKeywords() (GH-110817)Serhiy Storchaka2023-10-132-18/+70
|
* 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...
* Merge branch 'main' of https://github.com/python/cpythonThomas Wouters2023-10-1313-20/+195
|\
| * gh-110805: Fix test_peg_generator after the change in the parser for REPL ↵Pablo Galindo Salgado2023-10-131-1/+1
| | | | | | | | | | tracebacks (#110814) Fix test_peg_generator after the change in the parser for REPL tracebacks
| * gh-110805: Allow the repl to show source code and complete tracebacks (#110775)Pablo Galindo Salgado2023-10-1311-19/+191
| |
| * gh-106212: Raise when using c-analyzer with clang on darwin (#110757)Lysandros Nikolaou2023-10-131-0/+3
| |
* | Post 3.13.0a1Thomas Wouters2023-10-131-1/+1
| |
* | Python 3.13.0a1v3.13.0a1Thomas Wouters2023-10-13638-2806/+8653
|/
* Fix the pyspecific SOURCE_URI (#110811)T. Wouters2023-10-131-1/+1
|