Re: [Python-Dev] PEP 475 accepted

2015-02-03 Thread Larry Hastings
On 02/02/2015 12:58 PM, Victor Stinner wrote: 2015-02-02 21:49 GMT+01:00 Guido van Rossum gu...@python.org: W00t! Congratulations les Français! We will celebrate this acceptance with a glass of red wine and cheese. If it were me, I'd use separate glasses. //arry/

Re: [Python-Dev] PEP 475 accepted

2015-02-03 Thread Giampaolo Rodola'
On Mon, Feb 2, 2015 at 10:46 PM, Victor Stinner victor.stin...@gmail.com wrote: 2015-02-02 22:11 GMT+01:00 Giampaolo Rodola' g.rod...@gmail.com: I may be chiming in a little late, however, I'd have a question: does this affect non-blocking applications somehow? How often should we expect

Re: [Python-Dev] PEP 475 accepted

2015-02-03 Thread Victor Stinner
2015-02-03 15:25 GMT+01:00 Giampaolo Rodola' g.rod...@gmail.com: OK, thanks for clarifying, this is a very nice addition. One last thing: should InterruptedError exception be deprecated? As far as I understand it should never occur again, right? signal.setinterrupt() is not deprecated so you

Re: [Python-Dev] PEP 475 accepted

2015-02-03 Thread Nick Coghlan
On 3 Feb 2015 06:46, Antoine Pitrou solip...@pitrou.net wrote: Hello, I'm now accepting PEP 475 - Retry system calls failing with EINTR. You can read it at https://www.python.org/dev/peps/pep-0475/ The implementation is more or less ready at http://bugs.python.org/issue23285, so you can

Re: [Python-Dev] PEP 475 accepted

2015-02-03 Thread Georg Brandl
On 02/03/2015 04:25 PM, Larry Hastings wrote: On 02/02/2015 12:58 PM, Victor Stinner wrote: 2015-02-02 21:49 GMT+01:00 Guido van Rossum gu...@python.org: W00t! Congratulations les Français! We will celebrate this acceptance with a glass of red wine and cheese. If it were me, I'd use

[Python-Dev] PEP 475 accepted

2015-02-02 Thread Antoine Pitrou
Hello, I'm now accepting PEP 475 - Retry system calls failing with EINTR. You can read it at https://www.python.org/dev/peps/pep-0475/ The implementation is more or less ready at http://bugs.python.org/issue23285, so you can expect it to land in the main repo relatively soon. Regards Antoine.

Re: [Python-Dev] PEP 475 accepted

2015-02-02 Thread Guido van Rossum
W00t! Congratulations les Français! On Mon, Feb 2, 2015 at 12:45 PM, Antoine Pitrou solip...@pitrou.net wrote: Hello, I'm now accepting PEP 475 - Retry system calls failing with EINTR. You can read it at https://www.python.org/dev/peps/pep-0475/ The implementation is more or less ready at

Re: [Python-Dev] PEP 475 accepted

2015-02-02 Thread Victor Stinner
2015-02-02 22:11 GMT+01:00 Giampaolo Rodola' g.rod...@gmail.com: I may be chiming in a little late, however, I'd have a question: does this affect non-blocking applications somehow? How often should we expect to receive EINTR? Each time a program is interrupted by a signal while it was waiting

Re: [Python-Dev] PEP 475 accepted

2015-02-02 Thread Giampaolo Rodola'
On Mon, Feb 2, 2015 at 9:45 PM, Antoine Pitrou solip...@pitrou.net wrote: Hello, I'm now accepting PEP 475 - Retry system calls failing with EINTR. You can read it at https://www.python.org/dev/peps/pep-0475/ The implementation is more or less ready at http://bugs.python.org/issue23285,

Re: [Python-Dev] PEP 475 accepted

2015-02-02 Thread Victor Stinner
2015-02-02 21:49 GMT+01:00 Guido van Rossum gu...@python.org: W00t! Congratulations les Français! We will celebrate this acceptance with a glass of red wine and cheese. Thanks Antoine! I hate EINTR. It's a pain to handle them for each syscall in subprocess and asyncio (where signals are

Re: [Python-Dev] PEP 475 accepted

2015-02-02 Thread Antoine Pitrou
On Mon, 2 Feb 2015 12:49:32 -0800 Guido van Rossum gu...@python.org wrote: W00t! Congratulations les Français! I hoped nobody would notice :-) Regards Antoine. On Mon, Feb 2, 2015 at 12:45 PM, Antoine Pitrou solip...@pitrou.net wrote: Hello, I'm now accepting PEP 475 - Retry

Re: [Python-Dev] PEP 475

2014-10-29 Thread Antoine Pitrou
On Wed, 29 Oct 2014 00:05:57 +0100 Victor Stinner victor.stin...@gmail.com wrote: 2014-10-28 22:36 GMT+01:00 Antoine Pitrou solip...@pitrou.net: Is there an implementation somewhere? There is no implementation yet. This time, I chose to focus on the PEP before working on an implementation

[Python-Dev] PEP 475

2014-10-28 Thread Victor Stinner
Hi, At the end of August, I sent the PEP 475 which I wrote with Charles-François Natali: https://mail.python.org/pipermail/python-dev/2014-August/136077.html https://mail.python.org/pipermail/python-dev/2014-September/136101.html Antoine Pitrou wrote I'm +1 on the whole PEP and R. David

Re: [Python-Dev] PEP 475

2014-10-28 Thread Victor Stinner
Oh, I forgot the link to the PEP: http://legacy.python.org/dev/peps/pep-0475/ Victor ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] PEP 475

2014-10-28 Thread Guido van Rossum
I would like this to happen, but I'm afraid of breakage, and I don't have time. I would be okay if Antoine agrees to be the PEP-BDFL. On Tue, Oct 28, 2014 at 2:13 PM, Victor Stinner victor.stin...@gmail.com wrote: Oh, I forgot the link to the PEP: http://legacy.python.org/dev/peps/pep-0475/

Re: [Python-Dev] PEP 475

2014-10-28 Thread Antoine Pitrou
On Tue, 28 Oct 2014 22:07:45 +0100 Victor Stinner victor.stin...@gmail.com wrote: Hi, At the end of August, I sent the PEP 475 which I wrote with Charles-François Natali: https://mail.python.org/pipermail/python-dev/2014-August/136077.html

Re: [Python-Dev] PEP 475

2014-10-28 Thread Victor Stinner
2014-10-28 22:36 GMT+01:00 Antoine Pitrou solip...@pitrou.net: Is there an implementation somewhere? There is no implementation yet. This time, I chose to focus on the PEP before working on an implementation :-) We can work on the implementation if it helps discuss the PEP. I created a