Author pitrou
Recipients Mark.Shannon, docs@python, georg.brandl, larry, loewis, pitrou
Date 2013-03-31.20:40:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Py_INCREF usable as an rvalue sounds more like an accident than a deliberate feature, and it would be IMO counter-productive to codify this behaviour in the docs.

As for the lvalue usage of Py_REFCNT and Py_SIZE, I think it would be better if it were limited to CPython core. But arguably writers of extension types may want to mutate the size field of a varsize object.
Date User Action Args
2013-03-31 20:40:45pitrousetrecipients: + pitrou, loewis, georg.brandl, larry, docs@python, Mark.Shannon
2013-03-31 20:40:45pitrousetmessageid: <>
2013-03-31 20:40:45pitroulinkissue17589 messages
2013-03-31 20:40:44pitroucreate