# The following was supposedly scribed by # Eric Wilhelm # on Sunday 11 July 2004 02:21 pm:
>>>Can someone please tell me what wrong? >> >>I can't say exactly what went wrong, but I get the same results on my >> machine (except for the summary.) > >Okay, seems to be a string-copy issue, but there are segfaults from other >issues that I'm not sure I understand. Below is a report for some of the >tests showing the line which causes the segfault and, in paretheses, why I >think it happens. Sort of. Starting with python2.2, there have been efforts to make types and classes look the same. I think this is all part of the same issue. The code in py2pl.c which performs the translation from python objects to perl objects was getting thrown for a loop because now PyMapping_Check() returns true for strings. This code fixes it, at least for the test suite. http://ericwilhelm.homeip.net/Inline-Python/trunk/xs-based/ Note to Neil: sorry, the whitespace in this was driving me nuts. To get just the whitespace changes, use subversion: svn diff -r 198:199 http://ericwilhelm.homeip.net/svn/Inline-Python/trunk/xs-based/py2pl.c After that, the diffs will be much more readable. --Eric -- "Cleanliness is next to impossible." --Unknown