Hi,
I've been migrating a python2 package+extension to python3. The problem
I'm running into is with ./configure and which version it picks up or
doesn't in this case.
The default is python2 and works just fine as expected.
However, when ./configure PYTHON=python3 is run, the problems occur.
.
On 2014-01-11 01:10, Stefan Behnel wrote:
Mark Heieis, 11.01.2014 06:47:
I need to convert the following existing c extension code to support Python 3.
// --- existing code --
// PyBuffer_New() deprecated in python3
if (!(pyBuf = PyBuffer_New(len)))
{
return
Hi
I need to convert the following existing c extension code to support
Python 3.
// --- existing code --
// PyBuffer_New() deprecated in python3
if (!(pyBuf = PyBuffer_New(len)))
{
return NULL;
}
// should use memoryview object in python3
if (PyObject_AsW