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/2009-April/088082.html below:

[Python-Dev] Let's update CObject API so it is safe and regular!

[Python-Dev] Let's update CObject API so it is safe and regular! [Python-Dev] Let's update CObject API so it is safe and regular!Larry Hastings larry at hastings.org
Thu Apr 2 21:26:13 CEST 2009
Hrvoje Niksic wrote:
> If we're adding type information, then please make it a Python object 
> rather than a C string.  That way the creator and the consumer can use 
> a richer API to query the "type", such as by calling its methods or by 
> inspecting it in some other way.

I'm not writing my patch that way; it would be too cumbersome for what 
is ostensibly an easy, light-weight API.  If you're going that route you 
might as well create a real PyTypeObject for the blob you're passing in.

But please feel free to contribute your own competing patch; you may 
start with my patch if you like.

YAGNI,


/larry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090402/76127e89/attachment.htm>
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