summaryrefslogtreecommitdiffstats
path: root/Modules/_xxinterpqueuesmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791)Eric Snow2024-04-241-1881/+0
| | | See https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/26.
* gh-116386: Fix format string "%ld" warning in `_xxinterpqueuesmodule` (#116387)Nikita Sobolev2024-03-071-1/+1
|
* gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)Eric Snow2024-03-051-2/+2
| | | I accidentally introduced the warning in gh-116328.
* gh-76785: Minor Improvements to "interpreters" Module (gh-116328)Eric Snow2024-03-051-62/+199
| | | This includes adding pickle support to various classes, and small changes to improve the maintainability of the low-level _xxinterpqueues module.
* gh-115490: Make the interpreter.channels and interpreter.queues Modules ↵Eric Snow2024-03-041-7/+9
| | | | | Handle Reloading Properly (gh-115493) The problem manifested when the .py module got reloaded and the corresponding extension module didn't. The .py module registers types with the extension and the extension was not allowing that to happen more than once. The solution: let it happen more than once.
* gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)Eric Snow2024-03-021-1/+1
|
* gh-116099: Fix refcounting bug in `_queueobj_shared()` (gh-116164)Brett Simmers2024-03-011-3/+1
| | | | | | | | | This code decrefs `qidobj` twice in some paths. Since `qidobj` isn't used after the first `Py_DECREF()`, remove the others, and replace the `Py_DECREF()` with `Py_CLEAR()` to make it clear that the variable is dead. With this fix, `python -mtest test_interpreters -R 3:3 -mtest_queues` no longer fails with `_Py_NegativeRefcount: Assertion failed: object has negative ref count`.
* gh-76785: Update test.support.interpreters to Align With PEP 734 (gh-115566)Eric Snow2024-02-281-36/+89
| | | | | This brings the code under test.support.interpreters, and the corresponding extension modules, in line with recent updates to PEP 734. (Note: PEP 734 has not been accepted at this time. However, we are using an internal copy of the implementation in the test suite to exercise the existing subinterpreters feature.)
* gh-76785: Improved Subinterpreters Compatibility with 3.12 (gh-115424)Eric Snow2024-02-131-9/+13
| | | | | For the most part, these changes make is substantially easier to backport subinterpreter-related code to 3.12, especially the related modules (e.g. _xxsubinterpreters). The main motivation is to support releasing a PyPI package with the 3.13 capabilities compiled for 3.12. A lot of the changes here involve either hiding details behind macros/functions or splitting up some files.
* gh-113172: Fix compiler warnings in Modules/_xxinterpqueuesmodule.c (GH-113173)Serhiy Storchaka2023-12-151-1/+3
| | | Fix compiler waarnings in Modules/_xxinterpqueuesmodule.c
* gh-76785: More Fixes for test.support.interpreters (gh-113012)Eric Snow2023-12-121-0/+1685
This brings the module (along with the associated extension modules) mostly in sync with PEP 734. There are only a few small things to wrap up.