URL: https://github.com/freeipa/freeipa/pull/995 Author: frasertweedale Title: #995: py3: handle bytes in schema response Action: opened
PR body: """ If a server is running under py2 it could return a bytes value for the 'topic_topic' field in the schema response. A py3 client fails to handle this (in one place it applies 'str' to it, which raises BytesWarning; in other places it tries to serialise the schema to JSON which fails because of the bytes value).
Handle the case where 'topic_topic' is not unicode, and handle bytes values when serialising the schema to JSON.
Part of: https://pagure.io/freeipa/issue/4985 """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/995/head:pr995 git checkout pr995
URL: https://github.com/freeipa/freeipa/pull/995 Author: frasertweedale Title: #995: py3: handle bytes in schema response Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/995/head:pr995 git checkout pr995
freeipa-devel@lists.fedorahosted.org