niner / inline-python-pm

Inline::Python - Write Perl subs and classes in Python.
https://metacpan.org/release/Inline-Python
20 stars 13 forks source link

Call Py_Initialize() before calling PyBytes_FromString() #33

Closed ellert closed 3 years ago

ellert commented 3 years ago

Not doing this gives a segmentation fault with Python 3.10

niner commented 3 years ago

Thanks for the fix!

ellert commented 3 years ago

Better this way? This works too with python 3.10 (on Fedora 35).

perlpunk commented 2 years ago

Is there a CPAN release planned in the near future?

The build currently fails in openSUSE https://build.opensuse.org/package/show/openSUSE:Factory/perl-Inline-Python