Issue 1432350: arrayobject should use PyObject_VAR_HEAD (original) (raw)

Issue1432350

Created on 2006-02-15 18:16 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27529 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-02-15 18:16
The only difference between PyObject_VAR_HEAD and PyObject_HEAD is that VAR_HEAD adds Py_ssize_t ob_size; This is also the first field that arrayobject adds; it would be clearer to just use PyObject_VAR_HEAD and take the field out of arrayobject's explicit declaration.
msg27530 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-17 08:56
Logged In: YES user_id=1188172 Thanks, changed in rev. 42438.
History
Date User Action Args
2022-04-11 14:56:15 admin set github: 42905
2006-02-15 18:16:05 jimjjewett create