Repository navigation
Conversation
The repository of Pyjo-Reactor-Uvloop for Winloop, the fork of uvloop for Windows: the workflows, with the tests and the wheel on Windows, Trunk with Biome, Renovate, mise, the documentation, README.md, AGENTS.md and SECURITY.md, and a stub of the module, whose constructor raises NotImplementedError, with the tests and the examples of the reactor to be. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pyjo.Reactor.Uvloop for Winloop: _own_loop makes a loop of Winloop in the place of the SelectorEventLoop of Pyjo.Reactor.Asyncio on Windows. Of the workarounds of _Loop of Uvloop, the halt of the readers and the writers after stop and the hook of the finalizer of an async generator in the debug mode are taken; the relay of the wakeup fd, the blocking mode and the watch again after an error are left out, as AGENTS.md explains from the sources of Winloop 0.8.2 and libuv 1.53. Pyright of Linux and macOS takes the stub of typings/winloop, and autodoc a mock of Winloop. t/Reactor_Winloop.py is the port of t/Reactor_Uvloop.py without what does not apply on Windows, with a signal while the loop waits and the writer of a socket whose peer has closed it. t/examples.py stops the server with Ctrl-Break, and runs examples/asyncio_winloop.py, the port of asyncio_uvloop.py. Tests and Build pass the interpreter by its path of Windows, and Build compares the output without the CR of Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Tests
|
dex4er
marked this pull request as ready for review
November 5, 2026 11:08
dex4er
added a commit
that referenced
this pull request
Nov 5, 2026
uv on Windows takes the path of --python as it is, without .exe, so venv/Scripts/python was not found, and Build failed since #1. The directory of the virtual environment is found on every platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 7 tasks
dex4er
added a commit
that referenced
this pull request
Nov 5, 2026
…erited (#3) * uv.lock: Pyjoyment of Git main at 1d48088, and event_loop_modules inherited Pyjoyment of Git main with pyjoyment/Pyjoyment#534, whose Pyjo.Reactor._finalize defers the cleanup of a finalizer below the frames of the module of the class of the reactor and of event_loop_modules. The reactor names no winloop: the loop of Winloop is compiled with Cython and makes no frames of Python, and a probe of _finalize over the suite of Pyjoyment on the reactor found no frame of Winloop below any of its calls. Closes #2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Build: the wheel installed in the virtual environment by its directory uv on Windows takes the path of --python as it is, without .exe, so venv/Scripts/python was not found, and Build failed since #1. The directory of the virtual environment is found on every platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reactor of Pyjoyment on Winloop, the fork of uvloop for Windows, in a distribution of its own made of the repository of Pyjo-Reactor-Uvloop: for now its template, on which the reactor is written in this pull request.
Changes
README.md,AGENTS.mdandSECURITY.mdof Pyjo-Reactor-Uvloop, for Winloop:winloop>=0.8.2on Windows only (sys_platform == 'win32'), as it has wheels for Windows only, and Pyjoyment of Gitmainfor Pyjo.App.ASGI: the error of an application after its close of a WebSocket, and a reactor of asyncio by its class in the tests Pyjoyment#510, as in Pyjo-Reactor-Uvloop.windows-2025, CPython 3.12 to 3.15 and 3.15t; Build installs the wheel and runs the example onwindows-2025; Docs and Trunk Check stay on Linux, without Winloop.Pyjo/Reactor/Winloop.py: a stub with the docstring and the synopsis, whose constructor raisesNotImplementedError.t/Reactor_Winloop.py(a stub),t/docs/Reactor_Winloop.py(the synopsis),t/examples.pywithexamples/hello_world_winloop.pyandexamples/loopback_winloop.py, which Build runs with the wheel.Plan
_LoopofPyjo.Reactor.Uvloopchecked on Winloop: what Windows needs, written down inAGENTS.md_own_loopwith a loop of Winloop, onPyjo.Reactor.Asynciot/Reactor_Winloop.py: the port oft/Reactor_Uvloop.py, without what does not apply on WindowsAGENTS.mdand the docstring of the module with what the reactor does and whyValidation
trunk check --all: no issuest/of the repository withPYTHONDEVMODE=1, on Windowssphinx-build -W --keep-goingNot in the repository: the project of Read the Docs
pyjo-reactor-winloop, the trusted publisher of PyPI and Renovate.🤖 Generated with Claude Code