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
py3: cluster_algebra_quiver pickle depends on Python version #27545
Comments
New commits:
|
Commit: |
comment:3
This has been a frequent source of annoyance for me as well. Personally I would prefer to have different versions of the file depending on the Python version. But at the same time most users won't be using Python 2 Sage and Python 3 Sage together on the same system, and even if we did do that, ignoring unpickle errors here would still be desirable. This is just a cache and regenerating the cache if needed is no big deal since it does not take so long. |
comment:4
ok, thx |
Reviewer: Frédéric Chapoton |
Changed branch from u/jdemeyer/py3__cluster_algebra_quiver_pickle_depends_on_python_version to |
The pickle
cluster_algebra_quiver/mutation_classes_%s.dig6
currently depends on the Python version: pickles created with Python 3 cannot be opened with Python 2.There are multiple solutions to this, such as ensuring that a pickle is always stored in a compatible version. But since these pickles are optional, a simpler solution is simply ignoring unpickling errors.
CC: @fchapoton @embray
Component: python3
Author: Jeroen Demeyer
Branch/Commit:
a16ae1f
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/27545
The text was updated successfully, but these errors were encountered: