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/2015-December/142479.html below:

[Python-Dev] New poll about a macro for safe reference replacing

[Python-Dev] New poll about a macro for safe reference replacing [Python-Dev] New poll about a macro for safe reference replacingVictor Stinner victor.stinner at gmail.com
Wed Dec 16 16:14:12 EST 2015
2015-12-16 15:12 GMT+01:00 Serhiy Storchaka <storchaka at gmail.com>:
> Here are names gained the largest numbers of votes plus names proposed
> during polling.
>
> 1. Py_SETREF

+1: obvious name

> 2. Py_DECREF_REPLACE

-1: too long

> 3. Py_REPLACE

0: less explicit than but: not mention of reference

> 4. Py_SET_POINTER

-1: a reference is not a pointer

> 5. Py_SET_ATTR

-1: it's not an attribute

> 6. Py_REPLACE_REF

+0.5: close to Py_SETREF, but longer and if I recall correctly "set"
is more common than "replace" in the Python language

Victor
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