[pypy-commit] cffi default: Document 0ff89f851d2c

arigo pypy.commits at gmail.com
Sat Sep 3 06:39:21 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2752:02ca935a5c3f
Date: 2016-09-03 12:39 +0200
http://bitbucket.org/cffi/cffi/changeset/02ca935a5c3f/

Log:	Document 0ff89f851d2c

diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst
--- a/doc/source/cdef.rst
+++ b/doc/source/cdef.rst
@@ -529,7 +529,9 @@
 the same version of CPython x.y).  However, the standard ``distutils``
 package will still produce a file called e.g.
 ``NAME.cpython-35m-x86_64-linux-gnu.so``.  You can manually rename it to
-``NAME.abi3.so``, or use setuptools version 26 or later.
+``NAME.abi3.so``, or use setuptools version 26 or later.  Also, note
+that compiling with a debug version of Python will not actually define
+``Py_LIMITED_API``, as doing so makes ``Python.h`` unhappy.
 
 **ffibuilder.compile(tmpdir='.', verbose=False):**
 explicitly generate the .py or .c file,


More information about the pypy-commit mailing list