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 skrah
Recipients belopolsky, docs@python, ncoghlan, pitrou, skrah
Date 2012-08-30.09:53:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346320388.88.0.494685067241.issue15821@psf.upfronthosting.co.za>
In-reply-to
Content
People are using PyMemoryView_FromBuffer() to create and return
permanent memoryviews from buffers that are allocated on the stack.
See:

http://stackoverflow.com/questions/8123121/how-to-get-back-a-valid-object-from-python-in-c-while-this-object-has-been-con


The docs should perhaps warn against this.
History
Date User Action Args
2012-08-30 09:53:08skrahsetrecipients: + skrah, ncoghlan, belopolsky, pitrou, docs@python
2012-08-30 09:53:08skrahsetmessageid: <1346320388.88.0.494685067241.issue15821@psf.upfronthosting.co.za>
2012-08-30 09:53:08skrahlinkissue15821 messages
2012-08-30 09:53:07skrahcreate