Subject: | Segmentation fault when returning unicode values |
Inline::Python will seg fault when attempting to return a unicode
string from python back into perl.
Attached is the reportbug information as per documentation.
Essentially the test code is the following:
11 use strict;
12 use warnings;
13 use Inline 'REPORTBUG';
14 use Inline Python => <<'END';
15 def broken():
16 return u"Hello\n"
17
18 def working():
19 return "Hello\n"
20 END
21
22 print "The sub working() will work...\n";
23 print working();
24 print "The sub broken() will not...\n";
25 print broken();
Segmentation fault occurs at line 25.
Subject: | Inline.REPORTBUG.tar.gz |
Message body not shown because it is not plain text.