Message185668
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:45 | pitrou | set | recipients:
+ pitrou, loewis, georg.brandl, larry, docs@python, Mark.Shannon |
2013-03-31 20:40:45 | pitrou | set | messageid: <1364762445.03.0.804408849458.issue17589@psf.upfronthosting.co.za> |
2013-03-31 20:40:45 | pitrou | link | issue17589 messages |
2013-03-31 20:40:44 | pitrou | create | |
|