[Python-Dev] Re: [RELEASE] Python 3.10.5 is available

2022-06-07 Thread mikecmcleod
Hi,
Minor comment: Report bugs at 
[https://bugs.python.org%5D(https://bugs.python.org).
How about pointing to Github?
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/PYINIGO2IM7MWWJPM2EXFSR5NQS7NNMK/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Behavior of `asyncio.gather` when one of submitted tasks raises a `KeyboardInterrupt`.

2022-06-07 Thread Yves Duprat
Hi,

regarding this [issue93122](https://github.com/python/cpython/issues/93122), I 
am wondering what is the normal behavior of `asyncio.gather` when one of the 
submitted tasks raises a `KeyboardInterrupt` exception ? -- regardless of the 
value of the `return_exception` parameter.
It seems that this primitive does not behave the same way with 
`KeyboardInterrupt` and `ZeroDivisionError` exceptions. But may be it is normal 
?
I have searched in the documentation 
[here](https://docs.python.org/3/library/asyncio-task.html#asyncio.gather) but 
I did not find anything. 
Thanks for your help.

Yves
___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/5KVY7SSDTYWOAOCXVSXNBHCSDEJ5JPP7/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Behavior of `asyncio.gather` when one of submitted tasks raises a `KeyboardInterrupt`.

2022-06-07 Thread Guido van Rossum
KeyboardInterrupt is generally not handled properly by asyncio, the normal
behavior here is that the code just exits with a traceback.

On Tue, Jun 7, 2022 at 11:00 AM Yves Duprat  wrote:

> Hi,
>
> regarding this [issue93122](https://github.com/python/cpython/issues/93122),
> I am wondering what is the normal behavior of `asyncio.gather` when one of
> the submitted tasks raises a `KeyboardInterrupt` exception ? -- regardless
> of the value of the `return_exception` parameter.
> It seems that this primitive does not behave the same way with
> `KeyboardInterrupt` and `ZeroDivisionError` exceptions. But may be it is
> normal ?
> I have searched in the documentation [here](
> https://docs.python.org/3/library/asyncio-task.html#asyncio.gather) but I
> did not find anything.
> Thanks for your help.
>
> Yves
> ___
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/5KVY7SSDTYWOAOCXVSXNBHCSDEJ5JPP7/
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*

___
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/HTWTWS3M2PKQILSKN3V7UM73ZKOOQ33K/
Code of Conduct: http://python.org/psf/codeofconduct/