Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Mark Thomas
On 04/12/2019 14:20, Rémy Maucherat wrote: > On Wed, Dec 4, 2019 at 12:44 PM Rémy Maucherat > wrote: > > On Wed, Dec 4, 2019 at 11:51 AM Mark Thomas > wrote: > > On 04/12/2019 10:25, Rémy Maucherat wrote: > > On Wed, Dec

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Rémy Maucherat
On Wed, Dec 4, 2019 at 12:44 PM Rémy Maucherat wrote: > On Wed, Dec 4, 2019 at 11:51 AM Mark Thomas wrote: > >> On 04/12/2019 10:25, Rémy Maucherat wrote: >> > On Wed, Dec 4, 2019 at 11:11 AM Mark Thomas > > > wrote: >> > >> > On 04/12/2019 09:58, Mark Thomas

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Rémy Maucherat
On Wed, Dec 4, 2019 at 11:51 AM Mark Thomas wrote: > On 04/12/2019 10:25, Rémy Maucherat wrote: > > On Wed, Dec 4, 2019 at 11:11 AM Mark Thomas > > wrote: > > > > On 04/12/2019 09:58, Mark Thomas wrote: > > > On 04/12/2019 09:27, Mark Thomas wrote: > > >>

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Mark Thomas
On 04/12/2019 10:25, Rémy Maucherat wrote: > On Wed, Dec 4, 2019 at 11:11 AM Mark Thomas > wrote: > > On 04/12/2019 09:58, Mark Thomas wrote: > > On 04/12/2019 09:27, Mark Thomas wrote: > >> On 04/12/2019 07:55, Rémy Maucherat wrote: > > > > >

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Rémy Maucherat
On Wed, Dec 4, 2019 at 11:11 AM Mark Thomas wrote: > On 04/12/2019 09:58, Mark Thomas wrote: > > On 04/12/2019 09:27, Mark Thomas wrote: > >> On 04/12/2019 07:55, Rémy Maucherat wrote: > > > > > > > >>> Blocking is also used for HTTP/2 where it seems to work. If the write > >>> buffer is full,

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Mark Thomas
On 04/12/2019 09:58, Mark Thomas wrote: > On 04/12/2019 09:27, Mark Thomas wrote: >> On 04/12/2019 07:55, Rémy Maucherat wrote: > > > >>> Blocking is also used for HTTP/2 where it seems to work. If the write >>> buffer is full, 0 bytes are written and the socket is indeed passed to >>> the

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Rémy Maucherat
On Wed, Dec 4, 2019 at 10:59 AM Mark Thomas wrote: > On 04/12/2019 09:27, Mark Thomas wrote: > > On 04/12/2019 07:55, Rémy Maucherat wrote: > > > > >> Blocking is also used for HTTP/2 where it seems to work. If the write > >> buffer is full, 0 bytes are written and the socket is indeed passed

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Mark Thomas
On 04/12/2019 09:27, Mark Thomas wrote: > On 04/12/2019 07:55, Rémy Maucherat wrote: >> Blocking is also used for HTTP/2 where it seems to work. If the write >> buffer is full, 0 bytes are written and the socket is indeed passed to >> the poller but until the operation is complete it is

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-04 Thread Mark Thomas
On 04/12/2019 07:55, Rémy Maucherat wrote: > On Tue, Dec 3, 2019 at 10:56 PM Mark Thomas > wrote: > > Hi, > > I've been looking into BZ 63931. The error messages I was expecting to > see were not there. > > The first odd thing I noticed was an NPE here:

Re: Blocking IO does not appear to always be blocking with asyncIO

2019-12-03 Thread Rémy Maucherat
On Tue, Dec 3, 2019 at 10:56 PM Mark Thomas wrote: > Hi, > > I've been looking into BZ 63931. The error messages I was expecting to > see were not there. > > The first odd thing I noticed was an NPE here: > >