On Sun, Aug 28, 2011 at 1:58 AM, Nadeem Vawda <nadeem.va...@gmail.com> wrote: > On Sat, Aug 27, 2011 at 5:52 PM, Nick Coghlan <ncogh...@gmail.com> wrote: >> It's acceptable for the Python version to use ctypes in the case of >> wrapping an existing library, but the Python version should still >> exist. > > I'm not too sure about that - PEP 399 explicitly says that using ctypes is > frowned upon, and doesn't mention anywhere that it should be used in this > sort of situation.
Note to self: do not comment on python-dev at 2 am, as one's ability to read PEPs correctly apparently suffers :) Consider my comment withdrawn, you're quite right that PEP 399 actually says this is precisely the case where an exemption is a reasonable idea. Although I believe it's likely that PyPy will wrap it with ctypes anyway :) Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com