Skip to content

Disallow mixing of pos.char.ring elements and symbolic variables #21391

@rwst

Description

@rwst

This is to have a place for code examples and discussion of impact of the proposal in https://groups.google.com/forum/?hl=en#!topic/sage-devel/auLwQWtpnz0

The following produces a segmentation fault (Sage 7.4, Ubuntu 14.04 or OS X 10.10.5),
see Ask Sage.

sage: F = GF(3)
sage: num, den = F(2)*x + F(1), x
sage: num/den
 ... segmentation fault ...

With this branch this gives: TypeError: Multiplication of symbolic variable and an element of a ring with positive characteristic.

See also sage-support.

CC: @jdemeyer @videlec @slel

Component: symbolics

Keywords: segfault

Branch/Commit: u/rws/disallow_mixing_of_pos_char_ring_elements_and_symbolic_variables @ 8de8398

Reviewer: Ralf Stephan

Issue created by migration from https://trac.sagemath.org/ticket/21391

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions