Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use native strings for ZODB mount points in Python 2 #281

Merged
merged 1 commit into from
May 17, 2018

Commits on May 17, 2018

  1. Use native strings for ZODB mount points in Python 2

    ZODB requires paths and identifiers to be native strings (unicode on
    Py3, bytes on Py2). Since the ZConfig parser decodes the config file,
    keys and valus in the will consistently be unicode. As a result, the
    ZopeDatabase object needs to encode the value back to str/bytes on
    Python 2.
    rbu committed May 17, 2018
    Configuration menu
    Copy the full SHA
    89ba0e1 View commit details
    Browse the repository at this point in the history