[New-bugs-announce] [issue15821] Improve docs for PyMemoryView_FromBuffer()

Stefan Krah report at bugs.python.org
Thu Aug 30 11:53:08 CEST 2012


New submission from Stefan Krah:

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.

----------
assignee: docs at python
components: Documentation
messages: 169443
nosy: belopolsky, docs at python, ncoghlan, pitrou, skrah
priority: normal
severity: normal
status: open
title: Improve docs for  PyMemoryView_FromBuffer()
type: enhancement
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15821>
_______________________________________


More information about the New-bugs-announce mailing list