Senthil Kumaran added the comment:
This is a not a bug, it asks for parameter types to explained. API
documentation reference should provide the guidance.
--
nosy: +orsenthil
resolution: -> wont fix
stage: -> resolved
status: open -> closed
versions: +Python 3.10 -Python 2.6,
Changes by Francis MB franci...@email.de:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
___
Python-bugs-list
Ray.Allen ysj@gmail.com added the comment:
I think not only Structures but also other ctypes can be passed with byref() to
functions expecting pointer to mutable memory.
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
assignee: theller - flox
nosy: +d...@python, flox -theller
priority: normal -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
Changes by Éric Araujo mer...@netwok.org:
--
assignee: flox - theller
nosy: +theller -flox
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - theller
nosy: +theller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
New submission from anatoly techtonik techto...@gmail.com:
ctypes docs should mention that Structures can be passed with byref() to
functions expecting pointer to mutable memory without explicit allocation of
mutable memory block with create_string_buffer() or similar function.
--