- updated to 0.57
see /usr/share/doc/packages/perl-Inline-Python/Changes
0.57 Sun Sep 18 13:20:00 CEST 2022 (Stefan Seifert)
- Try to detect more object types.
- Further tighten the "is it a dict or object" check
- Also skip List and Tuple when checking for python object
- Unify "is this an object" checks into a macro to fix method calls on strange objects
- Define PY_MAJOR_VERSION automatically
- Search for and prefer python3 when building
- Pass ASCII strings as <class 'str'> in Python 3
- Fix segfault on Python 3.10 by calling Py_Initialize() before calling PyBytes_FromString()
- Process rss information not supported by Proc::ProcessTable on Windows
OBS-URL: https://build.opensuse.org/request/show/1080773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Inline-Python?expand=0&rev=20
- Added py_is_tuple and made Pl2Py recognize an array ref that has
been a tuple before in Python.
- Fixed memory corruption on a Python function calling a Perl function
that changed the stack pointer.
- Fixed several memory leaks (scalars and dict keys).
- Fixed wrong refcount of return values in py_eval (RT #48081)
- Fixed accessing Unicode keys in a dict passed from Perl.
- Fixed compatability of t/30floats.t with Python 2.7.
- Fix Perl assertion fail if __getitem__ called multiple times
- Fix "Attempt to free unreferenced scalar" sometimes happening when
calling a Perl sub with named parameters from Python.
- Fix several memory leaks found using valgrind
- Add py_finalize to be able to shut down the Python interpreter.
- Added line numbers to Python exception messages.
- Fixed passing of a perl code ref through Python space.
- Allow passing references to methods from Python to Perl.
- Implemented py_has_attr complementing py_get_attr.
- We now support stringification of Python objects via __str__ methods.
- Fixed segfault when accessing a Python object's attributes throws an
exception.
- Fixed some problems with the test suite, hopefully making installation
work on more machines.
- Fixed compilation on Win32, linking still seems broken though :(
- Fixed a segfault when passing dicts with Unicode keys to Perl
- Pass Python exceptions to Perl instead of just printing to STDERR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Inline-Python?expand=0&rev=3
oid sha256:fd330eb1e6d183f4247f9e9e598558af461051fd42067b2dcd1854dce51400a1
size 61279
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.