Vito De Tullio

Results 26 comments of Vito De Tullio
trafficstars

Hi. Thanks for you response. I cannot find any `trio_asyncio_base.py` in the `trio_asyncio` package. There is a `add_signal_handler` method in `_base.py` ```bash zed@FGVIL021718:/mnt/c/Users/vito.detullio/Desktop/workspace-mystuff/moves_VENV/Lib/site-packages/trio_asyncio$ grep -r 'add_signal_handler' . ./_base.py: def add_signal_handler(self,...

Moreover if I try with a pure `asyncio` approach I see that the even loop is an instance of `asyncio.windows_events.ProactorEventLoop` that simply implements the method `_make_subprocess_transport`, that is missing in...

I had a quick look at the code and found simply that windows is "skipped": https://github.com/python-trio/trio-asyncio/blob/39f79e32dfab1848e85c377b07a7acaaecadb87a/trio_asyncio/_base.py#L350-L355 (there is no `else`)

@smurfix sorry, I tough that was "transparent" for the called code... I was looking at the examples on https://trio-asyncio.readthedocs.io/en/latest/usage.html#trio-main-loop

this is a dumb example (I'm using python 3.6) that illustrate the difference between a "sync" decorator and an "async" one ```python #!/usr/bin/env python import asyncio def deco(fun): 'this is...

While I agree that this could be a default-off option, I think that should be possible to set a "remove unused imports" flag in the config file. Keep in mind...

while the project you mentioned seems fine, it not exactly useful for me. My goal is to automate the generation of the client code that deals with the rest server,...

... and from `from qtpy.QtGui import QAction` and `from qtpy.QtGui import QShortcut`