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, mark.dickinson, ncoghlan, pitrou, teoliphant
Date 2011-02-08.00:15:49
SpamBayes Score 0.0017635825
Marked as misclassified No
Message-id <4D508B32.3050008@telus.net>
In-reply-to <1294394503.75.0.518735272621.issue9990@psf.upfronthosting.co.za>
Content
I think only a simple solution is needed. From my experience adding the 
new buffer protocol to pygame.mixer.Sound it would be easy enough for 
bf_releasebuffer to use the "internal" field to free memory allocated by 
bf_getbuffer. As long as this pointer is preserved it would not matter 
if Py_buffer is copied or the "shape" and "strides" pointers change. 
Just ensure Py_buffer is clearly documented.
History
Date User Action Args
2011-02-08 00:15:50kermodesetrecipients: + kermode, teoliphant, mark.dickinson, ncoghlan, pitrou
2011-02-08 00:15:49kermodelinkissue9990 messages
2011-02-08 00:15:49kermodecreate