Skip to content

Code check: Pickling of nested classes #8452

@qed777

Description

@qed777
mannequin

Florent Hivert has recently devised a nice way to use Sphinx to test that nested classes in Sage are picklable. Please see V4 at #7448. From #7448's description:

"I also took the chance to raise a warning if someone forgot to set the metaclass leading to a unpicklable class. Several bug have been found that way. I'll add a ticket for this."

This ticket is about implementing Hivert's idea.

For the record, here a the tickets about bugs caught this way:
#8388, #8475. More have been caught on sage-combinat patch queue, before entering sage.

CC: @hivert @jhpalmieri @nthiery

Component: misc

Author: Florent Hivert, Mitesh Patel

Reviewer: Mitesh Patel, Florent Hivert

Merged: sage-4.3.4.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/8452

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions