Winloop
Winloop copied to clipboard
An Alternative library for uvloop compatability with windows
Hi, here's a thing I noticed a while ago when using the Python REPL in combination with winloop. The problem is that certain calls to the built-in help() function don't...
env_\.venv\Lib\site-packages\aiohttp\connector.py:942: RuntimeWarning: An HTTPS request is being sent through an HTTPS proxy. This support for TLS in TLS is known to be disabled in the stdlib asyncio (Python
I have my simple console echoing script. (python3.12) If I run this using pycharm's run configuration this works normally echoing the console input back to stdout. However any other running...
In python 3.9:  but in python 3.8: 
In uvicorn, I have added a new file “winloop.py”.  uvicorn/config.py:  Next: from uvicorn import run run("app_compat:create_app_fastapi", host="0.0.0.0", workers=int(args["workers"]), port=int(port), loop="winloop", factory=True) Result:  Pid is 23052 and 4604....
using aiohttp with an http proxy with an https request shows an `path\to\venv\Lib\site-packages\aiohttp\connector.py:899: RuntimeWarning: An HTTPS request is being sent through an HTTPS proxy. This support for TLS in TLS...
when freezing the script ``` import winloop import asyncio async def hello(): print("Hello") async def main(): tasks = [] for i in range(10): tasks.append(hello()) await asyncio.gather(*tasks) if __name__ == '__main__':...
I have spoken to Scoder one of the Cython developers and It seems I have no response for solving the [Macro issue](https://github.com/cython/cython/issues/4310#issuecomment-1694484715) Does anyone have any ideas or workarounds to...
python version: 3.9.13 
https://aiomultiprocess.omnilib.dev/en/latest/guide.html#using-uvloop code: ```PYTHON async def fetch_detail(url: str, pool: aiomultiprocess.Pool): async with aiohttp.ClientSession() .get(url) as response: html = await response.text() return html async def aiomultiprocess_main(): main_url = "http://am.adianshi.com:6805/" async with aiomultiprocess.Pool(loop_initializer=winloop.new_event_loop())...