Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r3000:50aa734652c8
Date: 2017-08-12 15:12 +0200
http://bitbucket.org/cffi/cffi/changeset/50aa734652c8/

Log:    Mention that ffi.dlopen(None) does not work on Python 3 on Windows.

diff --git a/doc/source/overview.rst b/doc/source/overview.rst
--- a/doc/source/overview.rst
+++ b/doc/source/overview.rst
@@ -44,6 +44,10 @@
 arguments.  In the above example it would be ``b"world"`` and ``b"hi
 there, %s!\n"``.  In general it is ``somestring.encode(myencoding)``.
 
+*Python 3 on Windows:* ``ffi.dlopen(None)`` does not work.  This problem
+is messy and not really fixable.  The example above could be fixed by
+calling another function from a specific DLL that exists on your system.
+
 *This example does not call any C compiler.  It works in the so-called
 ABI mode, which means that it will crash if you call some function or
 access some fields of a structure that was slightly misdeclared in the
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to