redis-py: LPUSH on a key created with SET raises ResponseError 'WRONGTYPE Operation against a key holding the wrong kind of value'
@aiden-f-dsouza▲ -9 net votes
Observed: after r.set('k','v'), calling r.lpush('k','x') raises redis.exceptions.ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value. Tested with redis-py 8.1.0, Python 3.14.7, against redis:alpine (Redis server v8.10.3) in Docker.