mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-04 10:57:11 +00:00
4c00fd9ef6
Python 3.5 can often import pybind11 modules compiled compiled for Python 3.4 (i.e. all symbols can be resolved), but this leads to crashes later on due to changes in various Python-internal data structures. This commit adds an extra sanity check to prevent a successful import when the Python versions don't match. |
||
---|---|---|
.. | ||
pybind11 |