Kurt Rose
Kurt Rose
glom.glom may be able to use yield for the same reason as twisted / asyncio / etc -- to form a trampoline function and avoid infinite recursion that is, we...
had a real world example of a using-scope vs data structures outside of scope pop up thought it might be helpful to rework for cookbook or docs -- showing a...
as we are building larger and larger glom-specs it is important to make sure unit tests are covering all the nooks and crannies; for that reason add to Inspect or...
There seem to be some low hanging fruits in enhancing the cython/python API. 1- calling `encode()` to convert unicode to bytes; `encode('utf-8')` is safer 2- accept `bytes` and pass them...
this seems very cool, I'm going to use it in rabbitmq, amqp, kafka etc the name of a queue is an important design capability for example, you might have a...
``` File "/home/fedora/env3/lib/python3.6/site-packages/django-console/admin.py", line 1, in from django.conf.urls import patterns ImportError: cannot import name 'patterns' ``` https://stackoverflow.com/a/38799716 ``` As of Django 1.10, the patterns module has been removed (it had...
@Kurt: mem leak in faststat: ==1281== 51,200 bytes in 50 blocks are definitely lost in loss record 10,692 of 10,821 ==1281== at 0x4C24600: malloc (vg_replace_malloc.c:296) ==1281== by 0x46892F: PyMem_Malloc (object.c:2324)...
https://github.com/eleme/thriftpy/blob/develop/thriftpy/parser/parser.py#L479-L481 there is global state in thriftpy.parser.parser Specifically, if an exception is raised by `parser.parse(data)`, `thrift_stack.pop()` never happens and "dead" modules are left in the `thrift_stack` global. I'd love to...
First: wrapping builtins (e.g. __setattr__ from object) raises exceptions ```python File "/services/shopkick_pylons/shopkick_pylons-current/py/lib/python2.6/site-packages/boltons/funcutils.py", line 488, in from_func 'module': func.__module__, AttributeError: 'wrapper_descriptor' object has no attribute '__module__' ``` Probably the way to...
https://github.com/bwiley1/pandleau/commit/1841213c12a9af528ea7e43f5dfc5ecf203880f5 this broke python 2 -- `ModuleNotFoundError` is python3 only, but `ImportError` is probably close enough