This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kermode
Recipients kermode
Date 2010-09-30.17:46:45
SpamBayes Score 0.00362818
Marked as misclassified No
Message-id <1285868807.58.0.617972550499.issue10001@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.2a2+ (py3k:85072M, Sep 29 2010, 12:11:17) (from SVN)
[GCC 4.4.5 20100728 (prerelease)] on linux2 (Debian squeeze)

The ~Py_buffer.obj field is undocumented. Yet memoryview, that acts as a wrapper, includes the field in gc traversal. Also, if the field is not initialized by bf_getbuffer its value can be indeterminate. For memoryview the gc can crash (see attached C demo program).
History
Date User Action Args
2010-09-30 17:46:48kermodesetrecipients: + kermode
2010-09-30 17:46:47kermodesetmessageid: <1285868807.58.0.617972550499.issue10001@psf.upfronthosting.co.za>
2010-09-30 17:46:45kermodelinkissue10001 messages
2010-09-30 17:46:45kermodecreate