Skip to content

[python] Complex numbers will abort python-GDL #638

@olebole

Description

@olebole

This is observed when testing #468, with Python 3.7.4.

function ARG_PASS_RETURN, arg
  return, arg
end

When called with a complex number, the GDL module will abort Python because of a segmentation fault.

>>> import GDL
>>> arg = complex(1, 1)
>>> retval = GDL.function('arg_pass_return', arg)
% Compiled module: ARG_PASS_RETURN.
Magick: abort due to signal 11 (SIGSEGV) "Segmentation Fault"...
Abgebrochen

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