[Patches] [ python-Patches-520768 ] cellobject isn't VAR
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 20 Feb 2002 18:00:37 -0800
Patches item #520768, was opened at 2002-02-20 18:00
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=520768&group_id=5470
Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Orendorff (jorend)
Assigned to: Nobody/Anonymous (nobody)
Summary: cellobject isn't VAR
Initial Comment:
cellobject.h has:
typedef struct {
PyObject_VAR_HEAD
PyObject *ob_ref;
} PyCellObject;
But it's wrong; it should just be plain
PyObject_HEAD, not VAR_HEAD.
(I tested this on Win32; it compiles and passes
the tests. The ob_size field implied by VAR_HEAD
just isn't used anywhere.)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=520768&group_id=5470