#30927 closed defect (fixed)

Frobenius endomorphisms of p-adic fields pickle incorrectly

Reported by: pbruin Owned by:
Priority: major Milestone: sage-9.3
Component: pickling Keywords:
Cc: gh-walnutmonster Merged in:
Authors: Peter Bruin Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: fb687de (Commits, GitHub, GitLab) Commit: fb687dedca9fc229b9aa645e74e97585bd54922d
Dependencies: Stopgaps:

Status badges

Description

In SageMath 9.3.beta1:

sage: R.<x> = QQ[]
sage: U.<a> = Qp(2).extension(x^2 + x + 1)
sage: F = U.frobenius_endomorphism(); F
Frobenius endomorphism on 2-adic Unramified Extension Field in a defined by x^2 + x + 1 lifting a |--> a^2 on the residue field
sage: copy(F)
Identity endomorphism of 2-adic Unramified Extension Field in a defined by x^2 + x + 1
sage: loads(dumps(F))
Identity endomorphism of 2-adic Unramified Extension Field in a defined by x^2 + x + 1

This is fixed by implementing suitable _extra_slots() and _update_slots() methods.

Change History (4)

comment:1 Changed 20 months ago by pbruin

  • Branch set to u/pbruin/30927-frobenius_pickling
  • Commit set to fb687dedca9fc229b9aa645e74e97585bd54922d

comment:2 Changed 20 months ago by pbruin

  • Status changed from new to needs_review

comment:3 Changed 20 months ago by tscrim

  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review

LGTM.

comment:4 Changed 19 months ago by vbraun

  • Branch changed from u/pbruin/30927-frobenius_pickling to fb687dedca9fc229b9aa645e74e97585bd54922d
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.