Opened 2 years ago

Closed 2 years ago

#27890 closed defect (fixed)

Fix a pickling error for codes

Reported by: klee 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


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 2 years ago by klee

  • Branch set to u/klee/27890

comment:2 Changed 2 years ago by git

  • Commit set to 112de45c2a73ae6848e770da4142e83d3646afeb

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

112de45Fix pickling error for codes

comment:3 Changed 2 years ago by klee

  • Status changed from new to needs_review

comment:4 Changed 2 years ago by klee

  • Authors set to Kwankyu Lee

comment:5 Changed 2 years ago by vdelecroix

  • Reviewers set to Vincent Delecroix
  • Status changed from needs_review to positive_review

comment:6 Changed 2 years ago by vbraun

  • Branch changed from u/klee/27890 to 112de45c2a73ae6848e770da4142e83d3646afeb
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.