x2 for all of Victor's votes and reasoning. Top-posted from my Windows Phone
-----Original Message----- From: "Victor Stinner" <victor.stin...@gmail.com> Sent: 12/17/2015 8:16 To: "Serhiy Storchaka" <storch...@gmail.com> Cc: "Python Dev" <python-dev@python.org> Subject: Re: [Python-Dev] New poll about a macro for safe reference replacing 2015-12-16 15:12 GMT+01:00 Serhiy Storchaka <storch...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/steve.dower%40python.org
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com