Skip to content

Implement missing __reduce__ and __reduce_ex__ for several types #3611

Closed
@Snowapril

Description

@Snowapril

Feature

Many existing test cases check that pickle.dumps and pickle.loads of a given type return the exact same value. Almost failed pickle test in RustPython, lack __reduce__ method.

These listed elements are almost similar and quite simple to implement.
Please take a look at many PR and existing codes for __reduce__

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions