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

2022-06-14 Thread Yves Duprat
Sure, I will do. Work is in progress !! Guido van Rossum wrote: > I'm sorry, I don't know the answer. Maybe you can read some of the source > code and report back here if you find any clues? > On Thu, Jun 9, 2022 at 1:53 PM Yves Duprat ydup...@gmail.com wrote: > > Sorry for my i

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

2022-06-09 Thread Yves Duprat
(), be: KeyboardInterrupt() __main__ -- Yves Duprat wrote: > Thank you for the straightforward explanation. May I ask you another question? > I don't understand the behavior of this waiting primitive. So here is the > case below: > ```py > import asyncio > e = KeyboardInterrupt # or

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

2022-06-09 Thread Yves Duprat
ue, Jun 7, 2022 at 11:00 AM Yves Duprat ydup...@gmail.com 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 `KeyboardInt

[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

[Python-Dev] Re: build cpython on M1 Pro mac

2022-03-04 Thread Yves Duprat
Guido van Rossum wrote: > On Wed, Mar 2, 2022 at 8:34 AM Yves Duprat ydup...@gmail.com wrote: > > How did you find that issue? > > This message printed from VSCode when I ran my script in debug mode > > Oh, I see, this is something that pydevd prints when it doesn't understan

[Python-Dev] Re: build cpython on M1 Pro mac

2022-03-02 Thread Yves Duprat
> How did you find that issue? This message printed from VSCode when I ran my script in debug mode > the Pydev extension used by VS Code doesn't yet work well with > the changes in 3.11 internals. Is there a simple sheet, white paper about these internal changes ? >You should probably inquire

[Python-Dev] build cpython on M1 Pro mac

2022-03-01 Thread Yves Duprat
Hi, I built cpython on a mac OSX 12.01. Python runs well. When starts, Python shows that version info which looks good: 'Python 3.11.0a5+ (heads/fix-issue-43352:f899da7fe5, Feb 25 2022, 10:04:53) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin' But when I want to used it in VSCode to debug a