tzickel
tzickel
https://gist.github.com/tzickel/4a81503acdb843dab4f03cfe950e84f3 This is a benchmark for this code that shows a potential use case for it. You can mess with the data size and chunk size in the end and...
Sure on which branch to check ?
Hmm... Doesn't seem to matter that much from my testing (unless I did something wrong) :/ ```patch diff --git a/sanic/server.py b/sanic/server.py index 6adf5dd..ffd60fe 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -31,6...
I think we should maybe not inherit from IOBase (might break code, that might be not acting properly anyhow) or maybe move to implement something like BufferedIOBase. The patch is...
@SethMichaelLarson you can see that the original HTTPResponse inherits from io.BufferedIOBase: https://github.com/python/cpython/blob/48498dd57f79ab1d061c754ad6a2ebe1a7172b0e/Lib/http/client.py#L217 So if urllib3's HTTPResponse should be backward compatible, it should do it as well (and implement stuff like...
I do not understand how gevent is related to async/await. As said in the OP, I would like the option for sniffio to be able to report synchronous event loops...
@arcivanov You can see the code that's not working here, there is no monkey patch. @jamadden How does it know it's always readable ? for example, if I change the...
I see, maybe there should be an FAQ page outlining some explanations on how gevent works, so people can read while designing stuff. I've been bitten by this, and by...
you can always pip install it, if you have MSVC 9 compiler it will work.
Did you try using: http://www.microsoft.com/en-us/download/details.aspx?id=44266