John Belmonte

Results 106 issues of John Belmonte

context: Recently I set about trying to find a faster Python interpreter for my async app, which has a high rate of context switching, many coroutines, and each coroutine running...

Hello-- noticed the link to this project from carsonfarmer/streamhist. I've been tinkering with optimization and correctness of this algorithm for about a year, and contributed some correctness changes to streamhist....

It's a little inconvenient to have viewport size as template parameters to Renderer3D, as an application may support several resolutions. I didn't see any static buffers created using these parameters,...

I wonder if it's possible to keep Photon's syscall hooks and scheduling machinery general, so for example it could be used with Lua (coroutines), etc. It seems a challenge for...

add variants of trio_perf_counter() and TrioPerfTimer that include child tasks TODO: make including child tasks the default Fixes #8

For perf-timer async support (Trio), I implemented the smallest possible thing: within a task, measure time excluding periods where the task is de-scheduled (sleeping, blocked on i/o or an event,...

Currently it's possible to call `make_ticks_abs()` on a Pattern and write it out to a midifile with absolute ticks, which doesn't adhere to the MIDI file standard. (aplaymidi and some...

autodetect is confused by the `async_friendly_context_manager` in trio_util and incorrectly detects `:for:` on method `multi_error_defer_to()` decorated by it. https://github.com/groove-x/trio-util/blob/944bf42b08b31f549179325eec443851dbd849a5/src/trio_util/_exceptions.py

I'd like to set something in `pytest.ini` to call `run()` with a certain`strict_exception_groups` value, so that it affects `nursery` fixtures, etc.

Even though I'm well aware of the `nursery` fixture's behavior of cancelling the nursery when the test function reaches end of scope, too many times I've written invalid tests that...