> Date: Fri, 29 Dec 2017 11:25:14 +0200
> From: Serhiy Storchaka <storchaka at gmail.com>
> To: python-dev at python.org> Subject: Re: [Python-Dev] Heap allocate type structs in native
> extension modules?
[ munch ]
> Yes, you can create heap types by using PyType_FromSpecWithBases().
>> But be aware of caveats (https://bugs.python.org/issue26979).
Thanks! I'll give it a go. I've already run into and solved the tp_new
issue, so that won't be a problem.
--
cheers,
Hugh Fisher