Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-100445: Improve error message for unterminated strings with escapes (#100446) | Shantanu | 2023-10-18 | 1 | -2/+8 |
| | |||||
* | gh-103737: IDLE - Remove unneeded .keys() for dict iteration (#110960) | Terry Jan Reedy | 2023-10-18 | 8 | -26/+28 |
| | | | | | Add comments where .keys() is needed. Leave debugger usages along because situation is unclear as indicated in expanded comment. Most testing is manual. | ||||
* | gh-111019: Align expected and actual titles in test output (#111020) | James | 2023-10-18 | 2 | -10/+10 |
| | | | | Align expected and actual titles in output from assert_has_calls/assert_called_with for greater readability | ||||
* | gh-108747: Add unit tests for site.{usercustomize,sitecustomize} hooks (#109470) | Charles Machalow | 2023-10-18 | 1 | -0/+38 |
| | |||||
* | gh-110938: More syntax tests for PEP695 funcs and classes (#110986) | Nikita Sobolev | 2023-10-18 | 1 | -0/+15 |
| | |||||
* | gh-110961: Fixed asyncio.wait docstring to remove deprecated coroutine ↵ | Bar Harel | 2023-10-18 | 1 | -2/+0 |
| | | | | | reference (#111017) Co-authored-by: Kumar Aditya <kumaraditya@python.org> | ||||
* | gh-84570: Add Timeouts to SendChannel.send() and RecvChannel.recv() (gh-110567) | Eric Snow | 2023-10-17 | 3 | -25/+128 |
| | |||||
* | gh-84570: Send-Wait Fixes for _xxinterpchannels (gh-111006) | Eric Snow | 2023-10-17 | 1 | -44/+173 |
| | | | | | There were a few things I did in gh-110565 that need to be fixed. I also forgot to add tests in that PR. (Note that this PR exposes a refleak introduced by gh-110246. I'll take care of that separately.) | ||||
* | gh-110995: Fix test_gdb check_usable_gdb() (#110998) | Victor Stinner | 2023-10-17 | 1 | -6/+11 |
| | | | | | | | Fix detection of gdb built without Python scripting support. * check_usable_gdb() doesn't check gdb exit code when calling run_gdb(). * Use shutil.which() to get the path to the gdb program. | ||||
* | gh-85283: Add PySys_Audit() to the limited C API (#108571) | Victor Stinner | 2023-10-17 | 1 | -0/+2 |
| | | | | | | | | | | The PySys_Audit() function was added in Python 3.8 by the PEP 578 "Python Runtime Audit Hooks". Add also PySys_AuditTuple() to the limited C API, function added to Python 3.13. Move non-limited "PerfMap" C API from Include/sysmodule.h to Include/cpython/sysmodule.h. | ||||
* | gh-110938: Fix error messages for indented blocks with functions and classes ↵ | Pablo Galindo Salgado | 2023-10-17 | 1 | -0/+10 |
| | | | | with generic type parameters (#110973) | ||||
* | gh-110695: test_asyncio uses 50 ms for clock resolution (#110952) | Victor Stinner | 2023-10-17 | 1 | -2/+2 |
| | | | | Before utils.CLOCK_RES constant was added (20 ms), test_asyncio already used 50 ms. | ||||
* | gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570) | Victor Stinner | 2023-10-17 | 1 | -0/+4 |
| | | | | | | | | | 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-110905: [Enum] minor fixes and cleanup (GH-110906) | Pieter Eendebak | 2023-10-16 | 2 | -6/+4 |
| | |||||
* | Enable ruff on several more files in `Lib/test` (#110929) | Alex Waygood | 2023-10-16 | 6 | -21/+16 |
| | |||||
* | gh-107450: Check for overflow in the tokenizer and fix overflow test (#110832) | Lysandros Nikolaou | 2023-10-16 | 1 | -4/+12 |
| | | | | 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 Salgado | 2023-10-16 | 1 | -0/+11 |
| | | | | traceback module (#110921) | ||||
* | gh-110907: AC: Disallow using `*` with vararg (#110908) | Nikita Sobolev | 2023-10-16 | 1 | -0/+14 |
| | |||||
* | gh-110923: Fix silently skipped tests in test__opcode.py (#110926) | Alex Waygood | 2023-10-16 | 2 | -2/+9 |
| | |||||
* | gh-110864: Fix _PyArg_UnpackKeywordsWithVararg overwriting vararg with NULL ↵ | Nikita Sobolev | 2023-10-16 | 1 | -0/+35 |
| | | | | (#110868) | ||||
* | gh-108791: Fix `pdb` CLI invalid argument handling (#108816) | Radislav Chugunov | 2023-10-16 | 2 | -2/+23 |
| | |||||
* | regrtest: Prepend 'use' options in --{fast,slow}-ci (GH-110363) | Zachary Ware | 2023-10-15 | 2 | -7/+11 |
| | | | This allows individual resources to be disabled without having to explicitly re-enable all others. | ||||
* | Lint: Include test_monitoring.py for Ruff (#110898) | Hugo van Kemenade | 2023-10-15 | 1 | -2/+0 |
| | |||||
* | gh-84583: Make pdb enter post-mortem mode even for SyntaxError (#110883) | Tian Gao | 2023-10-15 | 2 | -7/+19 |
| | |||||
* | gh-110722: Add PYTHON_PRESITE to import a module before site.py is run (#110769) | Łukasz Langa | 2023-10-14 | 1 | -0/+18 |
| | |||||
* | bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) | Serhiy Storchaka | 2023-10-14 | 2 | -40/+171 |
| | | | | | | | 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. | ||||
* | remove redundant call to attach_loop in watcher (#110847) | Thomas Grainger | 2023-10-14 | 1 | -2/+0 |
| | |||||
* | gh-110715: Add missing import in zipfile (gh-110822) | Kirill Podoprigora | 2023-10-14 | 2 | -7/+19 |
| | |||||
* | gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) | Serhiy Storchaka | 2023-10-14 | 3 | -4/+36 |
| | | | | | | 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 Storchaka | 2023-10-14 | 1 | -5/+10 |
| | |||||
* | gh-88434: Emit deprecation warnings for non-integer numbers in gettext if ↵ | Serhiy Storchaka | 2023-10-14 | 2 | -12/+25 |
| | | | | translation not found (GH-110574) | ||||
* | gh-110628: Add tests for PyLong C API (GH-110629) | Serhiy Storchaka | 2023-10-14 | 1 | -17/+376 |
| | |||||
* | gh-110392: Fix tty functions (GH-110642) | Serhiy Storchaka | 2023-10-14 | 2 | -2/+8 |
| | | | | | | | | * 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 Storchaka | 2023-10-14 | 1 | -0/+51 |
| | | | | | | | (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 Stinner | 2023-10-14 | 2 | -2/+0 |
| | |||||
* | gh-110697: test_os TimerfdTests uses selectors (#110789) | Victor Stinner | 2023-10-13 | 1 | -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-Magee | 2023-10-13 | 3 | -31/+94 |
| | | | Effectively introduce an unstable, private (really: protected) API for subclasses that want to override `run_forever()`. | ||||
* | gh-110815: Improve tests for PyArg_ParseTupleAndKeywords() (GH-110817) | Serhiy Storchaka | 2023-10-13 | 1 | -5/+31 |
| | |||||
* | Merge branch 'main' of https://github.com/python/cpython | Thomas Wouters | 2023-10-13 | 4 | -3/+78 |
|\ | |||||
| * | gh-110805: Allow the repl to show source code and complete tracebacks (#110775) | Pablo Galindo Salgado | 2023-10-13 | 4 | -3/+78 |
| | | |||||
* | | Python 3.13.0a1v3.13.0a1 | Thomas Wouters | 2023-10-13 | 1 | -1248/+1902 |
|/ | |||||
* | gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator ↵ | Lysandros Nikolaou | 2023-10-13 | 1 | -1/+1 |
| | | | | (GH-110810) | ||||
* | gh-110525: Delete `test_c_api` method from `set` object (#110688) | Nikita Sobolev | 2023-10-13 | 2 | -5/+1 |
| | |||||
* | gh-107450: Fix parser column offset overflow test on Windows (#110768) | Lysandros Nikolaou | 2023-10-13 | 1 | -1/+3 |
| | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | ||||
* | GH-110796: fix intermittent test failure in test_current_exceptions | Filipe Laíns | 2023-10-13 | 1 | -6/+3 |
| | |||||
* | GH-110786: suppress BrokenPipeError on the sysconfig CLI (#110791) | Filipe Laíns | 2023-10-13 | 1 | -1/+4 |
| | |||||
* | GH-103480: make sysconfig a package (GH-110785) | Filipe Laíns | 2023-10-12 | 3 | -229/+248 |
| | |||||
* | gh-110782: Fix crash when TypeVar is constructed with keyword args (#110784) | Jelle Zijlstra | 2023-10-12 | 1 | -0/+6 |
| | |||||
* | gh-109653: Improve the import time of `email.utils` (#109824) | Alex Waygood | 2023-10-12 | 1 | -5/+7 |
| | |||||
* | gh-110721: Use the traceback module for PyErr_Display() and fallback to the ↵ | Pablo Galindo Salgado | 2023-10-12 | 3 | -20/+64 |
| | | | | C implementation (#110702) |