Ticket #13059 (new defect)

Opened 12 months ago

Last modified 12 months ago

Creating multivariate polynomial rings change singular's global state

Reported by: roed Owned by: malb
Priority: minor Milestone: sage-5.10
Component: commutative algebra Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

The following seems bad. It was revealed by the change in doctest framework at #12415. That ticket introduces a workaround (just resetting opt['red_tail'] to True).

sage: from sage.libs.singular.option import opt
sage: opt['red_tail']
True
sage: Rlocal.<x,y,z> = PolynomialRing(QQ, order='ds')
sage: opt['red_tail']
False

Change History

comment:1 Changed 12 months ago by roed

J.groebner_basis(mult_bound=100) also resets opt['red_tail'], but J.groebner_basis() doesn't.

Note: See TracTickets for help on using tickets.