Skip to content

Clear up str|bytes confusion where bytes are needed #647

Description

@mistotebe

A lot of interfaces are confused what needs to be returned. Sometimes we decode what should stay bytes (e.g. pre/post read controls, syncrepl cookies), sometimes we return bytes where input should/must be a str (DNs, ...).

We should tighten this in 4.0 on the input and output sides. We'll probably keep things a little relaxed on the input side where warranted for ease of use if there is no risk of confusion when it's used.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions