Opened 5 years ago

Closed 5 years ago

#17415 closed defect (fixed)

Random failure in ell_rational_field.py

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-6.5
Component: elliptic curves Keywords: random_fail
Cc: pbruin, vbraun Merged in:
Authors: Peter Bruin Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: 6247969 (Commits) Commit: 6247969ab85e6724bc6fb027850ef5e404aab4f6
Dependencies: Stopgaps:

Description

Garbage collection coming at the wrong time can cause

File "src/sage/schemes/elliptic_curves/ell_rational_field.py", line 590, in sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.pari_curve
Failed example:
    _ = E.__dict__.pop('_pari_curve')  # clear cached data
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 488, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 851, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.pari_curve[9]>", line 1, in <module>
        _ = E.__dict__.pop('_pari_curve')  # clear cached data
    KeyError: '_pari_curve'

Change History (3)

comment:1 Changed 5 years ago by pbruin

  • Authors set to Peter Bruin
  • Branch set to u/pbruin/17415-ell_random_fail
  • Commit set to 6247969ab85e6724bc6fb027850ef5e404aab4f6
  • Status changed from new to needs_review

comment:2 Changed 5 years ago by vbraun

  • Reviewers set to Volker Braun
  • Status changed from needs_review to positive_review

comment:3 Changed 5 years ago by vbraun

  • Branch changed from u/pbruin/17415-ell_random_fail to 6247969ab85e6724bc6fb027850ef5e404aab4f6
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.