Skip to content
Commit d350f27d authored by Pino Toscano's avatar Pino Toscano
Browse files

python: bump PyCXX to 7.1.0

Bump the embedded copy of PyCXX to 7.1.0, using only the Python2 sources
with a layout that matches the upstream sources (and thus it is easier
to build the sources with no changes).

Adapt krosspython to the new PyCXX:
- adjust the paths to sources, and to includes to the new layout of the
  files
- build the new cxx_exceptions.cxx
- build with -DPYCXX_PYTHON_2TO3 to use all the compatibility functions
  not available in Python 3
- build the C sources as C99, as they use C99 features
- explicitly use PyCxx_ssize_t as type for a couple of methods, instead
  of 'int' used by old versions
- unambiguate one Py::MethodDefExt constructor call
parent d837a8c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment