[Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

Georg Brandl g.brandl at gmx.net
Tue Mar 18 20:05:47 CET 2014


Am 18.03.2014 19:29, schrieb Serhiy Storchaka:
> 26.02.14 11:40, Serhiy Storchaka написав(ла):
>> Let's choose the least confusing names.
>>
>> See discussions at:
>>
>> http://bugs.python.org/issue3081
>> http://bugs.python.org/issue16447
>> http://bugs.python.org/issue20440
>> http://comments.gmane.org/gmane.comp.python.devel/145346
>>
> 
> Poll results:
> 
> Py_(X)SETREF:  +3  (Antoine, Kristján, Nick)

Well, now that I know that -1 are counted, -1 to this.

> Py_(X)DECREC_REPLACE:    +3 (Ryan, Georg, Larry) -2 (Antoine, Kristján)
> 
> Py_(X)ASSIGN, Py_REF_ASSIGN, Py_(X)REPLACE, Py_(X)STORE, 
> Py_SET_AND_(X)DECREF, Py_(X)DECREF_AND_ASSIGN, Py_ASSIGN_AND_(X)DECREF: 
> -1 (Antoine or Kristján)
> 
> Py_CLEAR_AND_SET:  -2 (Antoine, Kristján)

Georg




More information about the Python-Dev mailing list