From d9598ca55db13bcbc8c748ed7a517f12a069962a Mon Sep 17 00:00:00 2001 From: Dan O'Reilly Date: Wed, 26 Aug 2015 20:30:41 -0400 Subject: 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: Dan O'Reilly --- python/tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/tox.ini') diff --git a/python/tox.ini b/python/tox.ini index d0100758..a6352ef4 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -2,8 +2,7 @@ envlist = # cpp implementation on py34 is currently broken due to # changes introduced by http://bugs.python.org/issue22079. - #py{26,27,33,34}-{cpp,python} - py{26,27,33}-{cpp,python}, py34-{python} + py{26,27,33,34}-{cpp,python} [testenv] usedevelop=true -- cgit v1.2.3