Skip to content

Conversation

idanz
Copy link

@idanz idanz commented May 9, 2013

I am using a redis-shard as a replacement for the redis client.
The CacheKey failed this replacement since there are assertions that the key derives from basestring.
since this check makes sense to me, I thought it would be better (and require less code), to make CacheKey derive from str, so no proxy code is needed and it works with other clients.

I added an explicit test for binary keys just to make sure that is not harmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant