python 3.x - redis-collections basestring error -



python 3.x - redis-collections basestring error -

am using redis-collections version 0.1.5 python3.4 throwing basestring errors.

>>>from redis_collections import dict >>>d = dict() >>>d['answer'] = 42 >>>d traceback (most recent phone call last): file "<stdin>", line 1, in <module> file "/home/lukik/venv/py34/lib/python3.4/site-packages/redis_collections/base.py", line 296, in __repr__ info = self._repr_data(self._data()) file "/home/lukik/venv/py34/lib/python3.4/site-packages/redis_collections/dicts.py", line 171, in _data homecoming [(k, self._unpickle(v)) (k, v) in result] file "/home/lukik/venv/py34/lib/python3.4/site-packages/redis_collections/dicts.py", line 171, in <listcomp> homecoming [(k, self._unpickle(v)) (k, v) in result] file "/home/lukik/venv/py34/lib/python3.4/site-packages/redis_collections/base.py", line 225, in _unpickle if not isinstance(string, basestring): nameerror: name 'basestring' not defined

looks python3 compatibility issue yet in github looks resolved

python-3.x redis

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -