Skip to content

Conversation

@Zdrul
Copy link

@Zdrul Zdrul commented Apr 11, 2022

No description provided.

johbo and others added 18 commits June 25, 2016 13:59
It provides a nice overview of the tweaks which we see in the codebase,
so that it supports both Python2 and Python3.
Background idea is that we use string types as switch names and if we do
this consistently, then the keys can be encoded into bytes objects.

At least the RedisDict as storage will otherwise happily take str
instances and return bytes instances. Result is that the Manager cannot
find the switches anymore and we see issues due to mixing up str and
bytes.
__cmp__ is ignored and cmp() is gone. Only one way left to compare.
@Zdrul Zdrul marked this pull request as ready for review April 11, 2022 14:19
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.

3 participants