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

compat: Import Pickler from "pickle" instead of "_pickle" #469

Merged
merged 1 commit into from May 24, 2022

Commits on May 20, 2022

  1. compat: Import Pickler from "pickle" instead of "_pickle"

    The latter is an implementation detail (see [0]),
    and the docs instruct users to "always import the standard version"[0].
    Moreover, "pickle.Pickler" is the same as "_pickle.Pickler",
    for all recent CPython releases (tested 3.6->3.9).
    
    [0] https://docs.python.org/3.1/whatsnew/3.0.html#library-changes
    
    Fixes: cloudpipe#458
    
    Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
    jvesely committed May 20, 2022
    Configuration menu
    Copy the full SHA
    2ec0f50 View commit details
    Browse the repository at this point in the history