Skip to content

Crash when loading during a swig module import #7

@jlquinn

Description

@jlquinn

Hi,
I've got a C++ module wrapped with swig. I build a version for avx512. I wanted to check that the cpu supports avx512 before loading the solib, since it will crash otherwise.
I put an import of py-cpu in the module init.py. Python crashes as soon as the module is loaded.

If I just load py-cpu interactively, things are fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions