Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-118413: Temporarily skip `test_release_task_refs` in free-threaded builds ↵ | Sam Gross | 2024-05-01 | 1 | -0/+1 |
| | | | | (#118491) | ||||
* | gh-117607: Speedup os.path.relpath() (GH-117608) | Nice Zombies | 2024-05-01 | 3 | -12/+16 |
| | |||||
* | GH-113464: Display a warning when building the JIT (GH-118481) | Brandt Bucher | 2024-05-01 | 6 | -26/+38 |
| | |||||
* | GH-118095: Make sure that progress is made if there are pending calls being ↵ | Mark Shannon | 2024-05-01 | 2 | -12/+11 |
| | | | | handled. (GH-118484) | ||||
* | gh-118433: Temporarily skip `test_interrupt_main_subthread` in free-threaded ↵ | mpage | 2024-05-01 | 1 | -1/+2 |
| | | | | | | | | | builds (#118485) Free-threaded builds can intermittently tickle a longstanding bug (24 years!) in the implementation of `threading.Condition`, leading to flakiness in the test suite. Fixing the underlying issue will require more discussion, and will likely apply to most of the concurrency primitives in the `threading` module that are written in Python. See gh-118433 for more details. | ||||
* | gh-118272: set stacktop to 0 before freeing contents, to avoid access to ↵ | Irit Katriel | 2024-05-01 | 1 | -2/+3 |
| | | | | invalid objects during GC (#118478) | ||||
* | build(deps-dev): bump types-psutil from 5.9.5.20240316 to 5.9.5.20240423 in ↵ | dependabot[bot] | 2024-05-01 | 1 | -1/+1 |
| | | | | | | /Tools (#118464) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | gh-117225: Move colorize functionality to own internal module (#118283) | Hugo van Kemenade | 2024-05-01 | 8 | -180/+218 |
| | |||||
* | gh-117225: Document colour use in `doctest` (#118268) | Hugo van Kemenade | 2024-05-01 | 2 | -3/+25 |
| | |||||
* | gh-110850: Add PyTime_TimeRaw() function (#118394) | Victor Stinner | 2024-05-01 | 7 | -35/+189 |
| | | | | | | | | | | | | | | | | | Add "Raw" variant of PyTime functions: * PyTime_MonotonicRaw() * PyTime_PerfCounterRaw() * PyTime_TimeRaw() Changes: * Add documentation and tests. Tests release the GIL while calling raw clock functions. * py_get_system_clock() and py_get_monotonic_clock() now check that the GIL is hold by the caller if raise_exc is non-zero. * Reimplement "Unchecked" functions with raw clock functions. Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | Expand the 'Extending' docs with an example. (#113187) | Jason R. Coombs | 2024-05-01 | 1 | -0/+78 |
| | | | | | * Expand the 'Extending' docs to provide a minimal example. Closes python/importlib_metadata#427. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-116622: Android sysconfig updates (#118352) | Malcolm Smith | 2024-05-01 | 6 | -5/+53 |
| | |||||
* | Bump types-setuptools from 69.2.0.20240317 to 69.5.0.20240423 in /Tools ↵ | dependabot[bot] | 2024-05-01 | 1 | -1/+1 |
| | | | | | | (#118463) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | Bump mypy from 1.9.0 to 1.10.0 in /Tools (#118461) | dependabot[bot] | 2024-05-01 | 1 | -1/+1 |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | gh-99730: urllib.request: Keep HEAD method on redirect (GH-99731) | Harmen Stoppels | 2024-05-01 | 3 | -0/+11 |
| | |||||
* | GH-115802: Use the GHC calling convention in JIT code (GH-118287) | Brandt Bucher | 2024-05-01 | 8 | -27/+117 |
| | |||||
* | gh-117958: Expose JIT code via method in UOpExecutor (#117959) | Anthony Shaw | 2024-05-01 | 2 | -1/+26 |
| | |||||
* | gh-99180: Remove traceback anchors in return and assign statements that ↵ | Pablo Galindo Salgado | 2024-05-01 | 3 | -33/+240 |
| | | | | cover all the displayed range (#112670) | ||||
* | gh-116767: fix crash on 'async with' with many context managers (GH-118348) | Irit Katriel | 2024-05-01 | 4 | -7/+50 |
| | | | | | | | Account for `add_stopiteration_handler` pushing a block for `async with`. To allow generator functions that previously almost hit the `CO_MAXBLOCKS` limit by nesting non-async blocks, the limit is increased by 1. This increase allows one more block in non-generator functions. | ||||
* | GH-118095: Make invalidating and clearing executors memory safe (GH-118459) | Mark Shannon | 2024-05-01 | 5 | -42/+103 |
| | |||||
* | Test syntax error on comma-less tuple-style sequence patterns (#115485) | da-woods | 2024-05-01 | 1 | -0/+8 |
| | | | | | Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one. Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (https://github.com/cython/cython/pull/4897#discussion_r1489177169) where there was a bug my the reimplementation that wasn't caught against the CPython tests here. | ||||
* | GH-117881: fix athrow().throw()/asend().throw() concurrent access (GH-117882) | Thomas Grainger | 2024-05-01 | 3 | -2/+235 |
| | |||||
* | gh-116622: Add Android testbed (GH-117878) | Malcolm Smith | 2024-05-01 | 19 | -10/+570 |
| | | | | | | | Add code and config for a minimal Android app, and instructions to build and run it. Improve Android build instructions in general. Add a tool subcommand to download the Gradle wrapper (with its binary blob). Android studio must be downloaded manually (due to the license). | ||||
* | gh-118201: Accomodate flaky behavior of `os.sysconf` on iOS (GH-118453) | Russell Keith-Magee | 2024-05-01 | 2 | -1/+3 |
| | |||||
* | gh-118335: Configure Tier 2 interpreter at build time (#118339) | Guido van Rossum | 2024-05-01 | 32 | -42/+181 |
| | | | | | | | | | | | | | | | | | | | | | | The code for Tier 2 is now only compiled when configured with `--enable-experimental-jit[=yes|interpreter]`. We drop support for `PYTHON_UOPS` and -`Xuops`, but you can disable the interpreter or JIT at runtime by setting `PYTHON_JIT=0`. You can also build it without enabling it by default using `--enable-experimental-jit=yes-off`; enable with `PYTHON_JIT=1`. On Windows, the `build.bat` script supports `--experimental-jit`, `--experimental-jit-off`, `--experimental-interpreter`. In the C code, `_Py_JIT` is defined as before when the JIT is enabled; the new variable `_Py_TIER2` is defined when the JIT *or* the interpreter is enabled. It is actually a bitmask: 1: JIT; 2: default-off; 4: interpreter. | ||||
* | gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452) | Russell Keith-Magee | 2024-04-30 | 1 | -0/+1 |
| | |||||
* | gh-117657: Don't specialize RESUME_CHECK when specialization is disabled ↵ | Ken Jin | 2024-04-30 | 2 | -0/+4 |
| | | | | (GH-118349) | ||||
* | gh-117139: Add header for tagged pointers (GH-118330) | Ken Jin | 2024-04-30 | 4 | -0/+200 |
| | | | | | --------- Co-authored-by: Sam Gross <655866+colesbury@users.noreply.github.com> | ||||
* | gh-118422: Fix run_fileexflags() test (#118429) | Victor Stinner | 2024-04-30 | 4 | -58/+62 |
| | | | | | Don't test the undefined behavior of fileno() on a closed file, but use fstat() as a reliable test if the file was closed or not. | ||||
* | gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398) | Victor Stinner | 2024-04-30 | 4 | -16/+45 |
| | | | | | | Use static_assert() in Py_BUILD_ASSERT() and Py_BUILD_ASSERT_EXPR() on C11 and newer and C++11 and newer. Add tests to test_cext and test_cppext. | ||||
* | gh-118218: Reuse return tuple in itertools.pairwise (GH-118219) | Shantanu | 2024-04-30 | 3 | -2/+40 |
| | |||||
* | gh-118406: Add signature for sqlite3.Connection objects (#118428) | Erlend E. Aasland | 2024-04-30 | 3 | -0/+13 |
| | |||||
* | [gh-117657] Fix some issues with TSAN in typeobject (#118249) | Dino Viehland | 2024-04-30 | 2 | -6/+19 |
| | | | Fix some racing reads in typebobject.c | ||||
* | gh-118332: Fix deadlock involving stop the world (#118412) | Sam Gross | 2024-04-30 | 5 | -7/+96 |
| | | | | | | Avoid detaching thread state when stopping the world. When re-attaching the thread state, the thread would attempt to resume the top-most critical section, which might now be held by a thread paused for our stop-the-world request. | ||||
* | gh-117657: Fix small issues with instrumentation and TSAN (#118064) | Dino Viehland | 2024-04-30 | 7 | -13/+25 |
| | | | Small TSAN fixups for instrumentation | ||||
* | gh-118272: Clear generator frame's locals when the generator is closed (#118277) | Irit Katriel | 2024-04-30 | 5 | -5/+38 |
| | | | Co-authored-by: Thomas Grainger <tagrain@gmail.com> | ||||
* | gh-109975: Document crypt_r as a possible replacement of crypt (#118439) | Miro Hrončok | 2024-04-30 | 1 | -1/+4 |
| | |||||
* | gh-117618: Make package.module searchable for breakpoints and clean up docs ↵ | Tian Gao | 2024-04-30 | 4 | -15/+69 |
| | | | | (#117619) | ||||
* | gh-118418: Use a default value for `type_params` in `typing._eval_type` ↵ | Nikita Sobolev | 2024-04-30 | 1 | -2/+2 |
| | | | | (#118431) | ||||
* | gh-116122: Add SBOM generation to PCbuild/build.bat (GH-116138) | Seth Michael Larson | 2024-04-30 | 2 | -5/+31 |
| | |||||
* | gh-118379: Use PyTuple_Pack instead of Py_BuildValue if possible (GH-118381) | Nice Zombies | 2024-04-30 | 6 | -9/+9 |
| | |||||
* | gh-118402: Fix inspect.signature() for functools.cmp_to_key() result (GH-118427) | Serhiy Storchaka | 2024-04-30 | 3 | -3/+23 |
| | |||||
* | gh-102402: Make test_relativeCreated_has_higher_precision less ↵ | Serhiy Storchaka | 2024-04-30 | 1 | -15/+45 |
| | | | | implementation dependent (GH-118062) | ||||
* | gh-117860: Add tests for resolving names when import rebind names (GH-118176) | Serhiy Storchaka | 2024-04-30 | 8 | -0/+149 |
| | | | | | | Add tests for "import", pkgutil.resolve_name() and unittest.mock.path() for cases when "import a.b as x" and "from a import b as x" give different results. | ||||
* | gh-116622: Redirect stdout and stderr to system log when embedded in an ↵ | Malcolm Smith | 2024-04-30 | 7 | -0/+511 |
| | | | | Android app (#118063) | ||||
* | gh-118404: Fix inspect.signature() for non-comparable callables (GH-118405) | Serhiy Storchaka | 2024-04-30 | 3 | -2/+15 |
| | |||||
* | GH-118095: Add tier 2 support for YIELD_VALUE (GH-118380) | Mark Shannon | 2024-04-30 | 9 | -16/+92 |
| | |||||
* | gh-85453: Consistent backquotes on None occurences across datetime.rst (#118282) | edson duarte | 2024-04-30 | 1 | -1/+1 |
| | |||||
* | gh-118392: Add note about random.random for multi thread app (gh-118396) | Donghee Na | 2024-04-30 | 1 | -0/+6 |
| | |||||
* | GH-118306: Update JIT to use LLVM 18 (GH-118307) | Savannah Ostrowski | 2024-04-29 | 8 | -37/+55 |
| |