Ticket #13059 (new defect)
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
Note: See
TracTickets for help on using
tickets.

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