[Python-ideas] Making io.BufferedReader buffer available

2019-08-06 Thread Jérôme Carretero
Hi, I pushed http.client to a scenario where I would read streaming HTTP data (yeah, without going into native async) with a select() on HTTPResponse and using its read1(). Because HTTPResponse has a fileno() we're tempted to use select() on it, which works kind-of well... but there is one edge c

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-06 Thread Steven D'Aprano
On Sat, Aug 03, 2019 at 06:56:16PM +1000, Chris Angelico wrote: > On Sat, Aug 3, 2019 at 6:16 PM Steven D'Aprano wrote: > > py> import > > Display all 492 possibilities? (y or n) > > CDROMchange_type_examplelocale site > > CFRACchardet