On 02/26/2014 11:13 PM, Georg Brandl wrote: > Am 26.02.2014 17:09, schrieb Ryan Gonzalez: >> I like Py_DECREF_REPLACE. It gives the impression that it decrefs the original >> and replaces it. > Agreed, most other suggestions are not really explicit enough. +1 from me too. When I saw Py_SETREF I thought, oh, it sets the thing and increfs it. FWIW this vote is just on the name. I haven't stared at the whole Py_REPLACE idea enough to have an opinion about whether or not to use it. But if we use it I'm +1 on Py_DECREF_REPLACE. //arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140228/8d540655/attachment.html>
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