diff options
author | Dan O'Reilly <oreilldf@gmail.com> | 2015-08-26 20:30:41 -0400 |
---|---|---|
committer | Dan O'Reilly <oreilldf@gmail.com> | 2015-08-31 16:42:31 -0400 |
commit | d9598ca55db13bcbc8c748ed7a517f12a069962a (patch) | |
tree | f836b2757cb6e5cd223827ffceeff2c24eb87f06 /csharp/src/Google.Protobuf/WellKnownTypes/AnyPartial.cs | |
parent | 0087da9d4775f79c67362cc89c653f3a33a9bae2 (diff) | |
download | protobuf-d9598ca55db13bcbc8c748ed7a517f12a069962a.tar.gz protobuf-d9598ca55db13bcbc8c748ed7a517f12a069962a.tar.bz2 protobuf-d9598ca55db13bcbc8c748ed7a517f12a069962a.zip |
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 <oreilldf@gmail.com>
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/AnyPartial.cs')
0 files changed, 0 insertions, 0 deletions