Commit d9598ca5 authored by Dan O'Reilly's avatar Dan O'Reilly
Browse files

Fix Python 3.4 cpp implementation



Fixes the ScalarMapContainer/MessageMapContainer implementations on
Python 3.4, by dynamically allocating their PyTypeObjects using
PyType_FromSpecWithBases, instead of statically allocating them. This is
necessary because Python 3.4+ disallows statically allocating a class
with a dynamically allocated parent.

Signed-off-by: default avatarDan O'Reilly <oreilldf@gmail.com>
parent 0087da9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment