python doesn't work with asyncio library
Mon Feb 1 03:19:34 GMT 2021
On 2021/02/01 5:19, Marco Atzeri via Cygwin wrote:
> On 23.01.2021 23:13, Marco Atzeri wrote:
>> On 23.01.2021 22:09, ggl329 via Cygwin wrote:
>>> Hi Marco,
>>> Thank you for maintaining python related packages.
>>> I found that the updated python38 (3.8.6-2, 3.8.7-1) and python36 (3.6.12-2) don't
>>> work with asyncio library. The "Hello World!" sample in python documentation fails.
>>> Using python38 (3.8.3-1) or python36 (3.6.10-1), it succeeds.
>>> This issue prevents ipython from starting up.
>>> Could you check if this issue is reproducible on your environment?
>>> $ cat hello38.py
>>> # hello38.py (https://docs.python.org/3.8/library/asyncio.html)
>>> import asyncio
>>> async def main():
>>> print('Hello ...')
>>> await asyncio.sleep(1)
>>> print('... World!')
>> confirmed. It looks similar to another one that I thought to have
>> Let me work on it
> can you try the attached patch and see if it solve this problem ?
The sample script runs successfully, and ipython also works.
More information about the Cygwin