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

Pickle support can be cleaned up #127

Open
jamadden opened this issue Mar 17, 2020 · 0 comments
Open

Pickle support can be cleaned up #127

jamadden opened this issue Mar 17, 2020 · 0 comments

Comments

@jamadden
Copy link
Member

There's some gnarly code that works to ensure that C and Python versions of objects can be pickled and unpickled the same, especially so that unpickling a BTree always uses the currently available/selected implementation (C or Python).

I suspect that the reductions to boilerplate should make this much simpler.

# XXX: Consider defining these with their natural names
# now and only aliasing them to 'Py' instead of the
# opposite. That should make pickling easier.
name = prefix + base_name + 'Py'

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

No branches or pull requests

1 participant