Opened 11 years ago
Closed 7 years ago
#7475 closed defect (fixed)
bug pickling ZZ.residue_field's
Reported by: | was | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-6.2 |
Component: | pickling | Keywords: | |
Cc: | Merged in: | ||
Authors: | Marc Mezzarobba | Reviewers: | Jeroen Demeyer |
Report Upstream: | N/A | Work issues: | |
Branch: | u/mmezzarobba/7475-residue_field | Commit: | b9394c2d8e7f04d97d8cb0f416a7af7da442bcc7 |
Dependencies: | Stopgaps: |
Description
sage: K = ZZ.residue_field(2) sage: dumps(K) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /Users/wstein/.sage/temp/flat.local/44250/_Users_wstein__sage_init_sage_0.py in <module>() /Users/wstein/s/local/lib/python2.6/site-packages/sage/structure/sage_object.so in sage.structure.sage_object.dumps (sage/structure/sage_object.c:7951)() /Users/wstein/s/local/lib/python2.6/site-packages/sage/rings/ring.so in sage.rings.ring.FiniteField.__reduce__ (sage/rings/ring.c:12800)() TypeError: 'NoneType' object is unsubscriptable sage: K = ZZ.residue_field(3) sage: dumps(K) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /Users/wstein/.sage/temp/flat.local/44250/_Users_wstein__sage_init_sage_0.py in <module>() /Users/wstein/s/local/lib/python2.6/site-packages/sage/structure/sage_object.so in sage.structure.sage_object.dumps (sage/structure/sage_object.c:7951)() /Users/wstein/s/local/lib/python2.6/site-packages/sage/rings/ring.so in sage.rings.ring.FiniteField.__reduce__ (sage/rings/ring.c:12800)() TypeError: 'NoneType' object is unsubscriptable
Attachments (2)
Change History (10)
comment:1 Changed 11 years ago by
- Component changed from misc to pickling
- Owner changed from tbd to was
Changed 9 years ago by
comment:2 Changed 9 years ago by
- Report Upstream set to N/A
I tested this and the bug doesn't appear in my system. I attached the pickle and the result of pickle_explain
on the pickle.
comment:3 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:4 Changed 7 years ago by
- Milestone changed from sage-5.12 to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
comment:5 Changed 7 years ago by
- Branch set to u/mmezzarobba/7475-residue_field
- Commit set to b9394c2d8e7f04d97d8cb0f416a7af7da442bcc7
comment:6 Changed 7 years ago by
- Reviewers set to Jeroen Demeyer
- Status changed from needs_review to positive_review
Looks good.
comment:7 Changed 7 years ago by
- Milestone changed from sage-duplicate/invalid/wontfix to sage-6.2
comment:8 Changed 7 years ago by
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
The pickle in a different system