geertj / gruvi

Async IO for Python, Simplified
http://gruvi.readthedocs.org/
MIT License
94 stars 12 forks source link

TypeError on import of gruvi #19

Closed rsommer closed 9 years ago

rsommer commented 9 years ago

Commit python/cpython@562385dca49f0a49271ece21236aa6d96477c9e8 introduced _METHODS_EXPECTING_BODY at module level in httplib.py. The code in gruvi.http failes at import time with TypeError: unhashable type: 'set' on python 2.7.10 which includes this commit. Ignoring _METHODS_EXPECTING_BODY in the loop fixes the error, but I'm not sure if it has any side effects.

See #18.