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

Support drop for Python < 3.7: step 3 — remove unused types and save_*() functions #504

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leogama
Copy link
Contributor

@leogama leogama commented Jun 9, 2022

This is for the step 3 in #499:

  • Clean-up the now unused type definitions if they are not in _reverse_typemap, to still allow unpickling of objects created with older combinations of python+dill versions.
  • Remove unused save_<type>() functions, leaving the correspondent _create_<type>() constructors for backward compatibility.
  • Clean-up _objects and tests.
  • Unalias some types for internal usage, like BytesIO that is renamed to StringIO, or move the alias definition to _shims.

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

Successfully merging this pull request may close these issues.

1 participant