tzickel
tzickel
This is feature complete, and should parse the stream like the normal MultipartDecoder class (and passes it's tests). Added benefits against the normal API is better memory and time savings...
Not sure how much performance it can add, but might be worth exploring: https://bugs.python.org/issue32251 It can be done in a backward compatible way with Python 3.6 like this: https://github.com/huge-success/sanic/blob/bedf68a9b2025618a94cb8044f495a0abd87a134/sanic/server.py#L47 Instead...
* gevent version: 1.3.7 * Python version: 2.7 latest on ubuntu 16.04 and 3.7.1 from homebrew on mac * Operating System: Written above on x64 ### Description: I am trying...
The current PyPi version is 2.0 from 2 years ago... lots of stuff has updated (like windows support): https://pypi.python.org/pypi/pyrasite Time to update ?
The code auto tries lldb if gdb isn't found. Unfortunately lldb batch will always jump to REPL on error (unlike in gdb), thus great length has gone in order to...
Unreachable code https://github.com/celery/billiard/blob/d0be0308a9dfd17c28277bb582edcf009ecd3153/billiard/pool.py#L665 https://github.com/celery/billiard/blob/d0be0308a9dfd17c28277bb582edcf009ecd3153/billiard/pool.py#L1229 Found using cython and https://gist.github.com/tzickel/ea4541b12c1298a8092c3ec5043ef77e ``` pip install -I --root temp_celery celery python checkcython.py temp_celery ``` there are some other minor issues in the other subprojects,...
HTTPResponse inherits from io.IOBase, meaning it's iterable. By python's documentation this means it iterates over lines in the response. The problem is that it calls IOBase's readline, which in turn...
The same principle that exists in the asynchronous world, exists in the synchronous world as well. I've been bitten enough by gevent's monkey patching, that I think that if library...
Before testing, I rather get feedback if this is a sane / valid solution... (i.e. first trying with an exception handler), also it might fail on non trivial layouts (not...
Let's say I have a large numpy array that represents an std_msgs/Image.data Today if I try to publish such a message it will fail in this part of the serialize...