Skip to content

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

Draft
leogama wants to merge 1 commit intouqfoundation:masterfrom
leogama:cleanup-step-3
Draft

Support drop for Python < 3.7: step 3 — remove unused types and save_*() functions#504
leogama wants to merge 1 commit intouqfoundation:masterfrom
leogama:cleanup-step-3

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

Comments