Opened 3 years ago

Closed 3 years ago

#27890 closed defect (fixed)

Fix a pickling error for codes

Reported by: Kwankyu Lee Owned by:
Priority: minor Milestone: sage-8.8
Component: coding theory Keywords:
Cc: Merged in:
Authors: Kwankyu Lee Reviewers: Vincent Delecroix
Report Upstream: N/A Work issues:
Branch: 112de45 (Commits, GitHub, GitLab) Commit: 112de45c2a73ae6848e770da4142e83d3646afeb
Dependencies: Stopgaps:

Status badges

Description

Pickling does not work correctly for codes:

sage: C = codes.HammingCode(GF(2), 3)
sage: C.decoders_available()
['InformationSet', 'NearestNeighbor', 'Syndrome']
sage: save(C, 'obj')

but in a fresh sage run,

sage: D = load('obj')
sage: D.decoders_available()
[]

Change History (6)

comment:1 Changed 3 years ago by Kwankyu Lee

Branch: u/klee/27890

comment:2 Changed 3 years ago by git

Commit: 112de45c2a73ae6848e770da4142e83d3646afeb

Branch pushed to git repo; I updated commit sha1. New commits:

112de45Fix pickling error for codes

comment:3 Changed 3 years ago by Kwankyu Lee

Status: newneeds_review

comment:4 Changed 3 years ago by Kwankyu Lee

Authors: Kwankyu Lee

comment:5 Changed 3 years ago by Vincent Delecroix

Reviewers: Vincent Delecroix
Status: needs_reviewpositive_review

comment:6 Changed 3 years ago by Volker Braun

Branch: u/klee/27890112de45c2a73ae6848e770da4142e83d3646afeb
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.