segfaults on 64-bit host w/ Python 2.5

Bug #432319 reported by Daniel Néri
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lunatic Python
New
Undecided
Unassigned

Bug Description

On a 64-bit host we must use 'Py_ssize_t' instead of 'int' as index type where the value is output through a pointer (e.g. 3rd arg to PyString_AsStringAndSize). See PEP 353.

Revision history for this message
Jörg Thalheim (jthalheim) wrote :

Please accept this patch Daniel Nérie made: http://bazaar.launchpad.net/~dne/lunatic-python/bugfixes/revision/15
Otherwise lunatic python is not usable on 64-bit machines.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.