Re: [Python-Dev] How io.IOBase.readline() should behave when used on non-blocking obj and no data available?

2014-10-22 Thread Paul Sokolovsky
Hello, On Thu, 16 Oct 2014 07:50:02 -0700 Guido van Rossum wrote: [] > > > So, how readline() should behave in this case, and can that be > > > specified in the Library Reference? > > > > Well, the problem is that it's not obvious how to implement such > > methods in a non-blocking context. > >

Re: [Python-Dev] How io.IOBase.readline() should behave when used on non-blocking obj and no data available?

2014-10-22 Thread Paul Sokolovsky
Hello, On Thu, 16 Oct 2014 13:34:06 +0200 Antoine Pitrou wrote: > On Thu, 16 Oct 2014 03:54:32 +0300 > Paul Sokolovsky wrote: > > Hello, > > > > io.RawIOBase.read() is well specified for behavior in case it > > immediately gets a would-block condition: "If the object is in > > non-blocking mod

Re: [Python-Dev] Backporting ensurepip to 2.7, Which commands to install?

2014-10-22 Thread Nick Coghlan
On 22 October 2014 21:10, Geoffrey Spear wrote: > On Wed, Oct 22, 2014 at 6:15 AM, Pekka Klärck wrote: >> I just installed Python 3.4.2 on Windows and noticed that its Scripts >> directory has these files out-of-the-box: >> >> easy_install.exe >> easy_install-3.4.exe. >> pip.exe >> pip3.exe >> pi

Re: [Python-Dev] Backporting ensurepip to 2.7, Which commands to install?

2014-10-22 Thread Geoffrey Spear
On Wed, Oct 22, 2014 at 6:15 AM, Pekka Klärck wrote: > [Replying to a mail that was sent before I joined this list. Quoting, > headers, etc. aren't exactly right.] > > Nick Coghlan wrote: >>On 4 October 2014 10:51, Donald Stufft wrote: >>> Whoops, I misred. >>> >>> So to be clear, you think: >>>

Re: [Python-Dev] Backporting ensurepip to 2.7, Which commands to install?

2014-10-22 Thread Pekka Klärck
[Replying to a mail that was sent before I joined this list. Quoting, headers, etc. aren't exactly right.] Nick Coghlan wrote: >On 4 October 2014 10:51, Donald Stufft wrote: >> Whoops, I misred. >> >> So to be clear, you think: >> >> install -> pip, pip2, pip2.7 >> altinstall -> pip2.7 > > To spe