I'm taking it from this thread that suppressing signals in a small window is not something anyone in their right mind would really want to attempt. :) (Or that if they did, it would have to be through a proper change to the runtime, not something higher-level)On Thu, Jun 25, 2020 at 7:14 AM Antoine Pitrou <antoine@python.org> wrote:
Le 25/06/2020 à 16:00, Guido van Rossum a écrit :
> On Thu, Jun 25, 2020 at 02:02 Antoine Pitrou <solipsis@pitrou.net
> <mailto:solipsis@pitrou.net>> wrote:
>
> ... The intent, though, is that any function
> waiting on an external event (this can be a timer, a socket, a
> lock, a directory...) should be interruptible so that Ctrl-C works in
> an interactive prompt.
>
> That’s not really true though right? Locks can block the REPL.
On POSIX they don't. On Windows it's a long-standing bug:
https://bugs.python.org/issue29971
Regards
Antoine.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/4TNEA5KNWCYTJVIPISUZKVXVDK2BQJWT/
Code of Conduct: http://python.org/psf/codeofconduct/
--Yonatan Zunger
Distinguished Engineer and Chief Ethics Officer
He / Him
100 View St, Suite 101
Mountain View, CA 94041
Yonatan Zunger
Distinguished Engineer and Chief Ethics Officer
He / Him
100 View St, Suite 101
Mountain View, CA 94041