[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

Antoine Pitrou report at bugs.python.org
Tue Aug 10 02:18:56 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

> I do not know why this happens.

The failure is in 3.1, and the reason is quite obvious: the patch relies on libffi/src/closures.c, which doesn't exist in the 3.1 copy of libffi.
I've reverted your commit in r83924, since you say you won't be able to look at it immediately. Unfortunately, this also reverts the refcounting fix.

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list