TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-12-03 18:13:00
subject: Re: RPi.GPIO-0.7.0 - a fe

Dennis,

> newfunc PyTypeObject.tp_new
>
>    An optional pointer to an instance creation function.

That part I understood (from the fields name).

My doubt was/is if the current way its done would perhaps result in a (sort
of) singleton, and moving the "PyType_GenericNew" reference into the table
itself would possibly cause multiple instances to be created.

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.