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/2011-May/111251.html below:

[Python-Dev] Borrowed and Stolen References in API

[Python-Dev] Borrowed and Stolen References in API [Python-Dev] Borrowed and Stolen References in APIGeorg Brandl g.brandl at gmx.net
Fri May 6 20:14:28 CEST 2011
On 06.05.2011 10:18, Amaury Forgeot d'Arc wrote:
> Le vendredi 6 mai 2011, Mark Shannon <marks at dcs.gla.ac.uk> a écrit :
>> What about #defining PY_STOLEN in some header?
>>
>> Then any stolen parameter can be prefixed with PY_STOLEN in signature.
>>
>> For return values, similarly #define PY_BORROWED.
> 
> Header files are harder to parse, and I don't see how it would apply to macros.
> What about additional tags in the .rst files?

Possible, of course, and even easier to implement.

Georg

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