bindings: python: add support for free-threaded Python
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- add documentation around the shortDescription stub (Bart)
- add synchronization info to Python class docstrings (Bart)
- Link to v1: https://lore.kernel.org/all/[email protected]/
---
Vincent Fazio (3):
bindings: python: tests: add multi-threaded tests
bindings: python: support free-threaded CPython
bindings: python: add a changelog
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bindings: python: tests: add multi-threaded testsbindings/ bindings/ bindings/ +1 more | +749 | 0 replies | |
| 2/3 | bindings: python: support free-threaded CPythonbindings/ bindings/ bindings/ +11 more | +45 | 0 replies | |
| 3/3 | bindings: python: add a changelogbindings/ bindings/ bindings/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [libgpiod][PATCH v2 0/3] bindings: python: add support for free-threaded Python
This short series adds support for free-threaded Python and adds a new test suite to provide some confidence in the suitability of the bindings being used within a multi-threaded context.
A changelog is also added to keep track of changes between releases.
Note:
The new threaded test suite was run on multiple machines in excess of 1M+ iterations in an attempt to make sure they were bug free but due to the nature of the problem, they may not be absolutely error free.
---
Changes in v2:
- add documentation around the shortDescription stub (Bart)
- add synchronization info to Python class docstrings (Bart)
- Link to v1: https://lore.kernel.org/all/[email protected]/
---
Vincent Fazio (3):
bindings: python: tests: add multi-threaded tests
bindings: python: support free-threaded CPython
bindings: python: add a changelog
bindings/python/CHANGELOG.md | 44 ++ bindings/python/MANIFEST.in | 1 + bindings/python/README.md | 8 +- bindings/python/gpiod/chip.py | 3 + bindings/python/gpiod/chip_info.py | 4 +- bindings/python/gpiod/edge_event.py | 2 + bindings/python/gpiod/ext/module.c | 5 +- bindings/python/gpiod/info_event.py | 2 + bindings/python/gpiod/line_info.py | 4 +- bindings/python/gpiod/line_request.py | 3 + bindings/python/gpiod/line_settings.py | 2 + bindings/python/pyproject.toml | 3 +- bindings/python/tests/__main__.py | 1 + bindings/python/tests/gpiosim/ext.c | 3 + bindings/python/tests/helpers.py | 5 + bindings/python/tests/meson.build | 1 + bindings/python/tests/system/ext.c | 3 + bindings/python/tests/tests_threading.py | 745 +++++++++++++++++++++++ docs/python_api.rst | 6 + 19 files changed, 840 insertions(+), 5 deletions(-) create mode 100644 bindings/python/CHANGELOG.md create mode 100644 bindings/python/tests/tests_threading.py
Signature · 1 line
2.43.0