Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Inline::Python.
2
3 0.58 Wed May 14 14:17:00 CEST 2025 (Stefan Seifert)
4 - Fix compilation with Python 3.13 (Mattias Ellert)
5 - Fix compiler warnings (Mattias Ellert)
6 - Improve compatibility with strict(er) C99 compilers (Florian Weimer)
7 - Fix Makefile logic (Mattias Ellert)
8 - Fix build on Windows (Yaribz)
9
10 0.57 Sun Sep 18 13:20:00 CEST 2022 (Stefan Seifert)
11 - Try to detect more object types.
12 - Further tighten the "is it a dict or object" check
13 - Also skip List and Tuple when checking for python object
14 - Unify "is this an object" checks into a macro to fix method calls on strange objects
15 - Define PY_MAJOR_VERSION automatically
16 - Search for and prefer python3 when building
17 - Pass ASCII strings as <class 'str'> in Python 3
18 - Fix segfault on Python 3.10 by calling Py_Initialize() before calling PyBytes_FromString()
19 - Process rss information not supported by Proc::ProcessTable on Windows
20
21 0.56 Fri Aug 04 15:30:00 CEST 2017 (Stefan Seifert)
22 - Fix floating point related test failures on some machines.
23
24 0.55 Tue Jul 03 09:30:00 CEST 2017 (Stefan Seifert)
25 - Pass Python floats as floats to Perl, not as string.
26
27 0.54 Tue Jun 13 08:40:00 CEST 2017 (Stefan Seifert)
28 - Fix object stringification crashing on Perl < 5.16 (RT #122082)
29
30 0.53 Fri Jun 02 12:10:00 CEST 2017 (Stefan Seifert)
31 - Better support for serializing booleans with JSON
32 - Support calling Perl objects with overloaded code dereferencing
33 - Support overloaded stringification of Perl objects
34
35 0.52 Thu Dec 01 20:31:00 CET 2016 (Stefan Seifert)
36 - Fix test failing on lots of machines
37 by Linas Valiukas
38
39 0.51 Thu Nov 09 08:45:00 CET 2016 (Stefan Seifert)
40 - Fix memory leak when passing dict with Unicode keys to Perl
41 by Linas Valiukas
42
43 0.50 Thu Jun 30 14:30:00 CEST 2016 (Stefan Seifert)
44 - Fix memory corruption after passing a dict with a non-string key to Perl
45
46 0.49 Tue Apr 21 08:30:00 CEST 2015 (Stefan Seifert)
47 - Fix crash during perl's shutdown when env variables were modified by Python
48
49 0.48 Sat Jan 24 10:00:00 CET 2015 (Stefan Seifert)
50 - Fix compatibility with perl < 5.14
51 - Allow shutting down Python
52
53 0.47 Thu Jan 22 19:35:00 CET 2015 (Stefan Seifert)
54 - Translate Perl exceptions into Python exceptions and make them catchable.
55 - fix some POD errors by Gregor Herrmann
56
57 0.46 Sun Dec 07 12:30:00 CET 2014 (Stefan Seifert)
58 - Python 3 support by Laurent Mazuel!
59 - Correcting KeyError to AttributeError in __getattr__ by Laurent Mazuel
60
61 0.45 Sat Sep 06 10:30:00 CEST 2014 (Stefan Seifert)
62 - Support implementing __cmp__ in Perl
63 - Skip test requiring Parse::RecDescent if the module is not installed
64
65 0.44 Tue Sep 02 11:00:00 CEST 2014 (Stefan Seifert)
66 - Fix memory corruption introduced with boolean support
67 - Document the usage of Inline::Python::Boolean
68 - Minor doc fixes by Zakariyya Mughal
69 - Allow non-interactive installation in Makefile.PL
70 - Add links to the github repo by mohawk2
71
72 0.43 Thu Sep 12 23:00:00 CEST 2013 (Stefan Seifert)
73 - Fixed converting floats from Perl to Python with different locale
74 - Fixed RT #87962
75
76 0.42 Fri May 31 20:20:00 CEST 2013 (Stefan Seifert)
77 - Python booleans passed through Perl make it back to Python as Booleans
78 instead of Integers.
79 - Fix segfaults on Perl 5.18.0 caused by uninitialized fields in a data
80 structure. Should help performance as well.
81
82 0.41 Thu Nov 08 20:15:00 CET 2012 (Stefan Seifert)
83 - Fixed installation on systems only having a shared libpython
84 - Code cleanup
85
86 0.40 Fri Jul 29 16:30:00 CEST 2011 (Stefan Seifert)
87 - Finally fixed t/06dict.t allowing installation on many more machines
88
89 0.39 Wed Mar 09 13:00:00 CET 2011 (Stefan Seifert)
90 - Added py_is_tuple and made Pl2Py recognize an array ref that has
91 been a tuple before in Python.
92 - Fixed memory corruption on a Python function calling a Perl function
93 that changed the stack pointer.
94 - Fixed several memory leaks (scalars and dict keys).
95 - Fixed wrong refcount of return values in py_eval (RT #48081)
96 - Fixed accessing Unicode keys in a dict passed from Perl.
97 - Fixed compatability of t/30floats.t with Python 2.7.
98
99 0.38 Thu Dec 02 14:00:00 CEST 2010 (Stefan Seifert)
100 - Fix Perl assertion fail if __getitem__ called multiple times
101 - Fix "Attempt to free unreferenced scalar" sometimes happening when
102 calling a Perl sub with named parameters from Python.
103 - Fix several memory leaks found using valgrind
104 - Add py_finalize to be able to shut down the Python interpreter.
105
106 0.37 Thu Sep 30 09:30:00 CEST 2010 (Stefan Seifert)
107 - Added line numbers to Python exception messages.
108 - Fixed passing of a perl code ref through Python space.
109 - Allow passing references to methods from Python to Perl.
110 - Implemented py_has_attr complementing py_get_attr.
111 - We now support stringification of Python objects via __str__ methods.
112 - Fixed segfault when accessing a Python object's attributes throws an
113 exception.
114 - Fixed some problems with the test suite, hopefully making installation
115 work on more machines.
116 - Fixed compilation on Win32, linking still seems broken though :(
117
118 0.36 Mon Jun 23 12:45:00 CEST 2010 (Stefan Seifert)
119 - Fixed a segfault when passing dicts with Unicode keys to Perl
120 - Pass Python exceptions to Perl instead of just printing to STDERR
121
122 0.35 Wed Mar 31 11:00:00 CET 2010 (Stefan Seifert)
123 - Fixed floats sometimes getting converted to int when transfered from Perl
124 to Python. Thanks to John McCullough for a great bug report.
125
126 0.34 Fri Mar 12 12:20:00 CET 2010 (Stefan Seifert)
127 - Fixed refcounting of positional arguments in named argument calls to Perl
128 subs.
129
130 0.33 Mon Feb 22 10:30:00 CET 2010 (Stefan Seifert)
131 - Added support for named arguments for Perl subs
132
133 0.32 Fri Jan 29 20:00:00 CET 2010 (Stefan Seifert)
134 - Perl UTF-8 strings now get converted to Python Unicode strings and vice
135 versa. This could potentially lead to incompatibilities with existing code.
136 - Return lists of Perl subs no longer get reversed before passing to Python.
137
138 0.31 Sun Dec 06 15:30:00 CET 2009 (Stefan Seifert)
139 - Implement access to Inline::Python::Object data
140
141 0.30 Sun Nov 29 19:45:00 CET 2009 (Stefan Seifert)
142 - Convert Perl arrays to Python arrays instead of tuples
143 - First look for methods before looking for attributes in PerlObj_getattr
144
145 0.29 Tue Jul 07 17:00:00 CEST 2009 (Stefan Seifert)
146 - Implemented passing of subroutine references and lambda expressions from
147 Python to Perl space.
148 - Implemented Python's __getitem__ protocol for perl objects. Perl objects
149 can thus be used like dictionaries if they support a __getitem__ sub.
150 - Fixed a bug in Pl2Py sometimes segfaulting on undefs in arrays.
151
152 0.28 Tue Dec 16 19:00:00 CET 2008 (Stefan Seifert)
153 - Fixed pushing integers from Python to Perl space. They now retain their
154 integer-ness instead of silently converting them to strings.
155 - PerlObj objects now have a comparison function which asserts if the _same_
156 perl object is contained.
157 - implemented Python's __getattr__ protocol for perl objects. Attributes can
158 now be accessed with my_perl_object.my_attribute same as Python objects.
159 The perl object just has to implement a __getattr__ sub.
160 - __getattr__ now raises a KeyError if a PerlObj object does not have the
161 requested attribute instead of silently assuming that a method is being
162 called.
163 - Added testcases for all these and for the Unicode fix in 0.27
164
165 0.27 Thu Nov 20 19:00:00 CET 2008 (Stefan Seifert)
166 - Fixed a segfault in py2pl.c when converting Unicode strings from Python to
167 Perl.
168 - Attempt to check for Python.h in Makefile.pl to make it more visible to
169 the user.
170
171 0.26 Mon Nov 10 13:20:00 CET 2008 (Stefan Seifert)
172 - Fixed compatibility with Python 2.5: all tests run successfully.
173 - Documented the --enable-shared requirement
174
175 0.25 Thu Oct 02 22:20:00 CEST 2008 (Stefan Seifert)
176 - Added missing changes and updated documentation to reflect current
177 status. No code changes.
178
179 0.24 Thu Oct 02 22:05:00 CEST 2008 (Stefan Seifert)
180 - fixed many wrong refcounts leading to memory leaks and too early freed
181 objects. Most notably when returning more than one result from a perl
182 sub to python.
183 - fixed segfaults in perlSub_getattr and perlSub_setattr for invalid
184 attribute names on non-methods.
185 - added many testcases for refcounting
186
187 0.23 Mon Sep 29 11:50:00 CEST 2008 (Stefan Seifert)
188 - fixed segfault when returing perl objects from python functions and methods
189 - fixed uninitialized member variables of perl subs
190 - updated documentation to reflect new co-maintainer
191
192 0.22 Sun Jan 9 22:29:54 PST 2005
193 [Bug reported by David Dyck]
194 - removed some declarations after statements
195 - newer versions of gcc seem to accept this by default, while older
196 versions just croak. Of course, the older versions also don't
197 support -Wdeclaration-after-statement.
198
199 0.21 Mon Jul 26 13:40:57 CDT 2004
200 [Patch from Eric Wilhelm]
201 - Added support for 'new-style' python classes which subtype builtin
202 types per PEP's 252 and 253.
203
204 0.20 Mon Jul 9 16:46:56 PDT 2001
205 - Made the Makefile.PL more clever about how it picks debugging
206 information. It accepts an optional argument, too, so it's
207 easy to correct the mistakes.
208
209 0.20 Wed Jun 20 16:27:23 PDT 2001
210 - Lots of testing with different versions of Perl & Python
211 - Makefile.PL auto-detects configuration for python >= 2.0
212
213 0.20 Sun Jun 17 19:57:18 PDT 2001
214 - Made eval_python return results of running code
215 - py_bind_class(), py_bind_function(), and py_study_package()
216 - py_eval() and py_call_function()
217 - py_new_object() and py_call_method()
218 - Many new test cases
219 - Updated documentation
220 - New language alias 'PYTHON' for Inline::Files support
221 - 'FILTERS' Config option
222 - Removed 'PRIVATE_PRIFIXES' Config option
223 - Added new base class Inline::Python::Object for all objects.
224
225 0.15 Sun Jun 10 18:39:23 PDT 2001
226 - Ported to Inline 0.42.
227
228 0.14 Thu Mar 22 08:50:33 PST 2001
229 - Added support for passing binary strings between Python & Perl.
230
231 0.13 Sun Mar 4 22:09:35 PST 2001
232 - Added Win32 code to search for Python installations on Win32
233 - Eliminated GNU-specific preprocessor macro syntax
234
235 0.10 Thu Nov 23 16:46:27 PST 2000
236 - Created Inline::Python.