Opened 8 years ago

Closed 8 years ago

#18363 closed defect (fixed)

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

Reported by: Bruno Grenet 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, GitHub, GitLab) Commit: c72c0ff2fe5abd3dd5388c508fe5441984d95f3f
Dependencies: Stopgaps:

Status badges

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 8 years ago by Bruno Grenet

Branch: u/bruno/zmod_is_irreducible

comment:2 Changed 8 years ago by Bruno Grenet

Commit: c72c0ff2fe5abd3dd5388c508fe5441984d95f3f
Status: newneeds_review

New commits:

c72c0ffAdd sig on / sig off

comment:3 Changed 8 years ago by Jeroen Demeyer

Reviewers: Jeroen Demeyer
Status: needs_reviewpositive_review

comment:4 Changed 8 years ago by Volker Braun

Branch: u/bruno/zmod_is_irreduciblec72c0ff2fe5abd3dd5388c508fe5441984d95f3f
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.