-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheriting from MPolynomialRing_libsingular crashes sage #26958
Comments
New commits:
|
Branch: u/etn40ff/26958 |
Commit: |
comment:2
Doesn't hurt I suppose... |
Reviewer: Jeroen Demeyer |
comment:3
Although maybe a minor comment about the code: can you replace
by
and remove the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Done, thanks for the review. A side note worth noting for #25558: after this patch it is possible to inherit from |
comment:8
Retarging tickets optimistically to the next milestone. If you are responsible for this ticket (either its reporter or owner) and don't believe you are likely to complete this ticket before the next release (8.7) please retarget this ticket's milestone to sage-pending or sage-wishlist. |
Changed branch from u/etn40ff/26958 to |
The following crashes sage with a SIGSEGV:
Strangely enough this bug is triggered only when inheriting; indeed the following works as expected:
As it turns out this bug is due to a spurious call to
__init_extra__
ofAlgebras(...).parent_class
. Univariate polynomial rings avoid this call by setting the attribute_no_generic_basering_coercion = True
; now multivariate polynomial rings do so too.Component: algebra
Keywords: polynomial rings
Author: Salvatore Stella
Branch/Commit:
57c8182
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/26958
The text was updated successfully, but these errors were encountered: