Cross-version extension modules?

P

Peter Astrand

If I build a extension module with Python 2.2 and then loads it with 2.3,
I get:

RuntimeWarning: Python C API version mismatch for module _foo: This
Python has API version 1012, module _foo has version 1011.

How fatal is this? Is it safe to use the module anyway? If not, is it
possible to build the module differently, so that it actually is safe to
use it with different versions of Python?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,665
Latest member
salkete

Latest Threads

Top