Thanks to visit codestin.com
Credit goes to github.com

Skip to content

replace array.__reduce__ to array.__reduce_ex__ #3876

Open
@maong0927

Description

@maong0927

Feature

In rustPython's array pickling, reduce is used.
However, reduce_ex is used in cPython's pickle.

I think we should implement reduce_ex in the array and use reduce_ex for picking.

Execution Result

There is no related python documentation, so I will attach the execution result.
Screen Shot 2022-07-14 at 12 24 47 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-stdlibC-compatA discrepancy between RustPython and CPythonz-ca-2022Tag to track contrubution-academy 2022

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions