[Python-Dev] Should asyncio ignore KeyboardInterrupt?

2015-07-05 Thread drekin
Once long ago in Internet time (issue 581232) time.sleep on windows was not interruptible and this was fixed. Is it possible the work on EINTR has broken that fix? (I don't currently have 3.5 installed on windows to test that theory...) It is no problem to interrupt time.sleep() with

[Python-Dev] [RELEASED] Python 3.5.0b3 is now available

2015-07-05 Thread Larry Hastings
On behalf of the Python development community and the Python 3.5 release team, I'm relieved to announce the availability of Python 3.5.0b3. Python 3.5 has now entered feature freeze. By default new features may no longer be added to Python 3.5. This is a preview release, and its use is

[Python-Dev] What's New editing

2015-07-05 Thread R. David Murray
Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3 and 3.4. I've tried to encourage people to keep What's New up to date, but *someone* should make a final editing pass. Ideally they'd do at least

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Sven R. Kunze
Thanks, Nick, for you reasoned response. On 03.07.2015 11:40, Nick Coghlan wrote: On 3 July 2015 at 06:55, Sven R. Kunze srku...@mail.de wrote: My understanding of coloring is needs special treatment. Being special or not (containing an 'await' or not), as long as I don't need to care, I can

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Chris Angelico
On Mon, Jul 6, 2015 at 7:50 AM, Sven R. Kunze srku...@mail.de wrote: Seems like we stick to this example once again. So, let me get this straight: 1) I can add, subtract, multiply and divide real numbers. 2) I can add, subtract, multiply and divide complex numbers. 3) I can even add,

Re: [Python-Dev] What's New editing

2015-07-05 Thread Nick Coghlan
On 6 July 2015 at 03:52, R. David Murray rdmur...@bitdance.com wrote: Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3 and 3.4. And thank you again for your work on those! I've tried to

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Steven D'Aprano
On Sun, Jul 05, 2015 at 11:50:00PM +0200, Sven R. Kunze wrote: Seems like we stick to this example once again. So, let me get this straight: 1) I can add, subtract, multiply and divide real numbers. 2) I can add, subtract, multiply and divide complex numbers. I don't think that this is a

[Python-Dev] PEP 493: Redistributor guidance for Python 2.7 HTTPS

2015-07-05 Thread Nick Coghlan
Hi folks, As previously discussed on python-ideas, Red Hat has been looking at ways to provide a smoother migration path for system administrators to get to a point where system Python installations are verifying HTTPS by default. While we're not proposing that these changes be implemented

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Nick Coghlan
On 6 July 2015 at 10:27, Chris Angelico ros...@gmail.com wrote: On Mon, Jul 6, 2015 at 7:50 AM, Sven R. Kunze srku...@mail.de wrote: Seems like we stick to this example once again. So, let me get this straight: 1) I can add, subtract, multiply and divide real numbers. 2) I can add, subtract,

Re: [Python-Dev] What's New editing

2015-07-05 Thread R. David Murray
On Mon, 06 Jul 2015 11:06:41 +1000, Nick Coghlan ncogh...@gmail.com wrote: On 6 July 2015 at 03:52, R. David Murray rdmur...@bitdance.com wrote: Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Nick Coghlan
On 6 July 2015 at 10:49, Steven D'Aprano st...@pearwood.info wrote: On Sun, Jul 05, 2015 at 11:50:00PM +0200, Sven R. Kunze wrote: Seems like we stick to this example once again. So, let me get this straight: 1) I can add, subtract, multiply and divide real numbers. 2) I can add, subtract,

Re: [Python-Dev] What's New editing

2015-07-05 Thread David Mertz
On Sun, Jul 5, 2015 at 6:06 PM, Nick Coghlan ncogh...@gmail.com wrote: On 6 July 2015 at 03:52, R. David Murray rdmur...@bitdance.com wrote: Just so people aren't caught unawares, it is very unlikely that I will have time to be the final editor on What's New for 3.5 they way I was for 3.3

Re: [Python-Dev] What's New editing

2015-07-05 Thread Nick Coghlan
On 6 July 2015 at 12:42, David Mertz me...@gnosis.cx wrote: I think I might be able to volunteer for the task of writing/editing the What's New in 3.5 docs. I saw David's comment on it today, so obviously haven't yet had a chance to run it by my employer (Continuum Analytics), but I have a

Re: [Python-Dev] Importance of async keyword

2015-07-05 Thread Steve Dower
A) I can call a function and might get a return value. B) I can await an awaitable and might get a return value. C) I cannot use them interchangeably. Why? Function != awaitable - the answer is right there in the terminology. Different names, different things. Given A, B and the fact that an