Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Aaron/add clib doc #636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 1, 2015
Merged

Conversation

ambray
Copy link
Contributor

@ambray ambray commented Oct 27, 2015

Added document detailing mechanisms for interfacing Python applications with C/C++.


ctypes
------

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should mention that ctypes is only available on CPython and only works there. It is not supported by PyPy or any other implementation that I'm aware of.

@sigmavirus24
Copy link
Contributor

Any discussion of using C libraries without mentioning CFFI seems incomplete. Would you like to add that discussion @ambray? Most prominent projects that aim to support PyPy, CPython, and other platforms choose CFFI.

@ambray
Copy link
Contributor Author

ambray commented Nov 1, 2015

CFFI section added, and ctypes has been amended to reflect the fact that it is somewhat tethered to CPython.

@sigmavirus24
Copy link
Contributor

Thanks @ambray!

sigmavirus24 added a commit that referenced this pull request Nov 1, 2015
@sigmavirus24 sigmavirus24 merged commit 184ef03 into realpython:master Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.