Bug#622152: [britney2] Port to python2.6 (s/PyFoo_Check/PyFoo_CheckExact/)
On 11/20/2011 12:17 AM, Adam D. Barratt wrote:
> On Thu, 2011-11-17 at 20:54 +0000, Adam D. Barratt wrote:
>> On Sun, 2011-04-10 at 15:36 +0200, Mehdi Dogguy wrote:
>>> It seems that britney2 segfaults at every run when compiled for Python
>>> 2.6. After some quick investigation, the problem boils down to the
>>> Attached is a simple patch that performs the described substitution.
>>> Using this patch, I've been able to run britney2 on my machines
>>> wihtout seeing any problem.
>> I've finally (!) got to looking at this but have been unable to
>> reproduce the problem. It might be a squeeze versus wheezy issue or
>> some oddity which has resolved itself in the meantime, but after
>> s/python2.5/python2.6/ in britney-py.c and rebuilding the library on
>> franck, everything seems to just work[tm].
>> If I don't change the shebang of britney herself then I do get this:
>> SystemError: error return without exception set
>> but not a segfault. Running the script explicitly with python2.6 seems
>> to work okay in my test runs.
> fwiw, the test suite also appears to run without any obvious regressions
> (i.e. the number of failing tests is the same).
maybe we should close the bug then? (it could be a temporary problem that
got fixed somewhere since then…)
P.S.: I'll keep all packages infos next time :/
Mehdi Dogguy مهدي الدڤي