[docs] [issue24278] Docs on Parsing arguments should say something about mem mgmt for formatters returning C strings
Martin Panter
report at bugs.python.org
Tue May 26 10:10:40 CEST 2015
Martin Panter added the comment:
Here is a patch.
Looking at the code, s#, z#, y and y# are the conversions that call convertbuffer(). These require that the object does not have a PyBufferProcs.bf_releasebuffer() method, which guarantees that the buffer’s lifetime is the same as the underlying object.
In the patch I also removed a contradictory notice about nulls with the “u” conversion.
----------
keywords: +patch
stage: needs patch -> patch review
versions: +Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file39504/buffer-convert.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24278>
_______________________________________
More information about the docs
mailing list