Opened 4 years ago

Closed 4 years ago

#18363 closed defect (fixed)

It should be possible to interrupt the method is_irreducible for polynomials over Zmod(n)

Reported by: bruno Owned by:
Priority: major Milestone: sage-6.7
Component: commutative algebra Keywords: polynomial
Cc: Merged in:
Authors: Bruno Grenet Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: c72c0ff (Commits) Commit: c72c0ff2fe5abd3dd5388c508fe5441984d95f3f
Dependencies: Stopgaps:

Description

Keyboard interrupt is not possible in the following example:

sage: R.<x> = Zmod(5)[]
sage: p = R.random_element(2^16)
sage: p.is_irreducible
^C^C^C^C...

Now we have:

sage: R.<x> = Zmod(5)[]
sage: p = R.random_element(2^16)
sage: p.is_irreducible()
^C
Traceback (most recent call last):
...
KeyboardInterrupt:

Change History (4)

comment:1 Changed 4 years ago by bruno

  • Branch set to u/bruno/zmod_is_irreducible

comment:2 Changed 4 years ago by bruno

  • Commit set to c72c0ff2fe5abd3dd5388c508fe5441984d95f3f
  • Status changed from new to needs_review

New commits:

c72c0ffAdd sig on / sig off

comment:3 Changed 4 years ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from needs_review to positive_review

comment:4 Changed 4 years ago by vbraun

  • Branch changed from u/bruno/zmod_is_irreducible to c72c0ff2fe5abd3dd5388c508fe5441984d95f3f
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.