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/2002-January/019598.html below:

[Python-Dev] Extending types in C

[Python-Dev] Extending types in C - help needed [Python-Dev] Extending types in C - help neededThomas Heller thomas.heller@ion-tof.com
Fri, 18 Jan 2002 21:23:11 +0100
[sorry if this is duplicated, I'm having mailer problems]

> > Also, the method seems rather complicated for doing a simple thing. The 
> > only thing I really want is a way to refer to an _New or _Convert method 
> > from Python code.
> 
> I believe the attached code implements your requirements.

Yes, this looks very much like what I had in mind, except that you
demonstrate how to store and retrieve a C structure in the type's tp_dict.
Nice intro into PyCObject!

Thanks,

Thomas





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