Skip to content

Feat: implement DefaultCoroutineScope and MainCoroutineScope on pythonx.concurrent (#94) - #129

Merged
b-re-w merged 1 commit into
developfrom
feat/coroutine-scopes
Oct 24, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/coroutine-scopes

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Implement DefaultCoroutineScope() and MainCoroutineScope() in pythonx.compose.runtime (SPEC S5.7, INTENT §5.10, UI.ipynb cell 5) on top of pythonx.concurrent.CoroutineScope and Dispatchers.Default / Dispatchers.Main (thisisthepy/pythonx-concurrent#21).
  • Regenerate pythonx/compose/runtime/__init__.pyi so both functions are carried into the committed stubs.
  • Add tests/test_coroutine_scopes.py and tests/test_typing.py::test_default_and_main_coroutine_scopes_type_check.
  • Update docs/SPEC.md S5.7, README.md, docs/locale/README_ko.md, docs/guide/status.html and PROJECT.md.

Verification

  • Red -> green verified for tests/test_coroutine_scopes.py and tests/test_typing.py.
  • TypedPython gate (tests/test_typedpython.py): 0 errors, 5 expected _reexport.py warnings.
  • Guide check (check_guide.py): 8 pages checked, 0 findings.

Closes #94

@b-re-w
b-re-w merged commit a621cd3 into develop Oct 24, 2026
@b-re-w
b-re-w deleted the feat/coroutine-scopes branch October 24, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant