delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/31/22:20:28

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35276384240C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1612149583;
bh=r3uCNmOUFQUwosAASxLtlSfTFqccihhTMQ7GEwErB/0=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Aq/qWdfWcSKEynPCyrBP4UxDCSE2NCsy65aVjELIlaq8fp6wXbAlgGVs8Z32+bZSQ
T5gdkYP/yyPP4Nb5+6ux+to5N+/XfWlv4iZru4OXkud+ZNbsFVRzIITLjNTVEdpbDo
EcFk6mkpD4Zt0QJFtQcAigic0tCfPTA6MzjlRE7Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F1DA6384C005
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=84wNPk7KCXnZgzXaueqQmRaao9CWskpBbRmGpfzKxGc=;
b=DR2yLz9jFCVfRiolAzs3R7CQ+Hb2PvMAvmU1rOIM5QTkVgUVymnw8gO7slVyUANVZV
/7QvKISL4QpcIugQWMI7zKB7+AZRqqefO3GCa9CaPCRbnac0zKFXgfw33Hm1bnGvR9z2
ehEjwtkvRkbxDuIFgerpTanq5tqgNf8HIpAkIKVenkR5vpfY3Hpk8n85ezIWXLIYG8Uc
OvW0aLgM5unqY7gApifuC/F4RKTBX5o8UUN/wqOYBOU6lgzN3IC4v9R+GpCOmNC/Tizz
tQJySmuTd0OeJOLMrJ9U2TW7X6BTnPkbza4z59pOzH8l5wlQJLYS4uAPeNFhBl8Jme4m
t/qA==
X-Gm-Message-State: AOAM531fhSRMKURQFQMD/7P5mpocM1JuDY868rWFXh14GkLuqsuXeDVR
4DWiJHsaEIekL/7PP9EBeacWAGg6qF+FkA==
X-Google-Smtp-Source: ABdhPJxy9YqLZeBzrxcFS/ccfY3t+Qo/mM3kAm782hqfHGgHW4Wfzg06NFIsjgqi4q3Ry/vBJWPbLA==
X-Received: by 2002:a17:902:e886:b029:de:57b2:da69 with SMTP id
w6-20020a170902e886b02900de57b2da69mr15815406plg.65.1612149578867;
Sun, 31 Jan 2021 19:19:38 -0800 (PST)
Subject: Re: python doesn't work with asyncio library
To: cygwin AT cygwin DOT com
References: <5ce60195-9b4f-a54d-491d-fb0c361586d4 AT gmail DOT com>
<dc0438a9-e5f4-7f4d-d003-5cc8bdfcec21 AT gmail DOT com>
<e183f54c-d929-6f55-75e4-61b9d3b5fff1 AT gmail DOT com>
Message-ID: <00109c47-1830-f2aa-352e-5682a27e9f0e@gmail.com>
Date: Mon, 1 Feb 2021 12:19:34 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <e183f54c-d929-6f55-75e4-61b9d3b5fff1@gmail.com>
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ggl329 via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ggl329 <ggl329 AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1113KC7b006602

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!')
>>> asyncio.run(main())
>>>
>>
>> confirmed. It looks similar to another one that I thought to have
>> solved.
>>
>> Let me work on it
>>
>> Marco
>>
> 
> can you try the attached patch and see if it solve this problem ?
> 
> Regards
> Marco

The sample script runs successfully, and ipython also works.
Thank you.

-- 
   ggl329
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019