quamash
quamash copied to clipboard
Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop
Hi Devs, Any plan to support Qt official binding PySide2? Tks, Cong
Sometimes it is required to wait for result of asynchronous operation in synchronous Qt slot, is there any proper way to do it? For example I have QMainWindow subclass that...
Python 3.7 add [`create_task`][create_task] function, it use `_get_running_loop` function to get event loop. However, we never the our QEventLoop as the **running** loop. In asyncio event loops, they set running...
I'm tracking down a race in the `asyncio.windows_events.PipeServer`s `close` method. AFAICT the issue is this: - the PipeSever stores `weakref`s to each `PipeHandle` it opens - when we call close,...
Currently exceptions raised in tasks are reported in the log as warnings regardless of whether they are handled appropriately or not. This generates noise in the log that can obscure...
In setting up a Conda package for quamash (https://github.com/OxfordIonTrapGroup/quamash/commit/b006c9a163f55aba044a9ad8532c65c13f35121f) I hit two issues: 1. Currently releases are tagged using the pattern `version-x.y.z`. The hyphen upsets my build script. 2. Currently,...
Currently, a warning is generated whenever an exception is raised in a future on Windows https://github.com/harvimt/quamash/blob/e513b30f137415c5e098602fa383e45debab85e7/quamash/_windows.py#L44 Since many (most?) in exceptions aren't really exceptional at all, this can lead to...
The following code snippet should tries to connect to a server that doesn't exist ```python host = "127.0.0.1" port = 5000 try: print("connecting...") loop = asyncio.get_event_loop() loop.run_until_complete(asyncio.open_connection(host, port)) except Exception...
`QThreadExecutor` now inherits from the `concurrent.futures.Executor` abstract class. See #102 Excuse the PySide2 commits, didn't see the work that was being put in on the other PR.