twisteroidambassador / ptadapter

Pluggable Transports Python interface & standalone tunnels
GNU General Public License v3.0
61 stars 9 forks source link

TypeError: Passing coroutines is forbidden, use tasks explicitly #12

Open computerscot opened 1 year ago

computerscot commented 1 year ago

This is running on Windows 10 with Python 3.11.4.

close_tasks, _ = await asyncio.wait([w.wait_closed() for w in writers])
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: Passing coroutines is forbidden, use tasks explicitly.
twisteroidambassador commented 1 year ago

Please try the latest master.

baborok commented 3 weeks ago

The same issue occurs for the latest 3.0 release on python 3.11

twisteroidambassador commented 2 weeks ago

I have just uploaded 3.0.1 to PyPI, which should have fixed this.