A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-December/151490.html below:

[Python-Dev] Heap allocate type structs in native extension modules?

[Python-Dev] Heap allocate type structs in native extension modules? [Python-Dev] Heap allocate type structs in native extension modules?Hugh Fisher hugo.fisher at gmail.com
Fri Dec 29 08:35:05 EST 2017
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4