Issue 1724: Py_SIZE() macro used as an lvalue (original) (raw)

Issue1724

Created on 2008-01-02 23:43 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg59111 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-01-02 23:43
Don't know if this was intended. Here's a example from rev 56476 in arraymodule.c: - op->ob_size = size; + Py_Size(op) = size;
msg59112 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-01-02 23:46
Certainly. This macro definitely *is* an lvalue.
History
Date User Action Args
2022-04-11 14:56:29 admin set github: 46065
2008-01-02 23:46:36 loewis set status: open -> closedresolution: not a bugmessages: +
2008-01-02 23:43:19 rhettinger create