Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bad creation of Function segfaults instead of raises #463

@rikardn

Description

@rikardn
import symengine
symengine.Function('f', 'x')

Will generate a segfault. The same example in sympy will raise. The example is of course faulty, but it is always easier to faultfind these errors in Python if it raises rather than segfaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions