Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

Le samedi 28 juin 2008 à 20:12 +0000, Raymond Hettinger a écrit :
> Raymond Hettinger <[EMAIL PROTECTED]> added the comment:
> 
> -1 on the new macros.  The mnemonic doesn't work for me and the example 
> code fragments are to my eyes less readable than before.  These add to 
> the learning curve for reading and writing C extensions and provide 
> nearly zero benefits.  

They might not be ideal, but I think they can be helpful to avoid
writing incorrect code out of laziness. There is already Py_CLEAR with
similar purposes.

> Assigning from an INCREF feels weird.  It is somewhat at odds with our 
> coding style where we tend to stick with dirt simple C, trying to put 
> operations on different lines rather than combining too many step in a 
> single line.

Ok.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3081>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to