Skip to content

Why isn't zope using copyreg extension registry ? #1275

Description

@perrinjerome

Using copyreg extension registry seems a very easy way to reduce the size of pickles, there's even a range reserved to Zope:
https://github.com/python/cpython/blob/3.14/Lib/copyreg.py#L217

Is there a reason not to use it ?

I think this cannot be used for persistent classes, because only their state is pickled, but for non persistent classes such as DateTime.DateTime this looks like a very easy way to have smaller pickles.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions