[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2020-12-28 Thread Senthil Kumaran
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,

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2014-10-04 Thread Francis MB
Changes by Francis MB franci...@email.de: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8481 ___ ___ Python-bugs-list

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-11-24 Thread Ray.Allen
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

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-05-29 Thread Éric Araujo
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 ___

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-05-29 Thread Éric Araujo
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 ___

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - theller nosy: +theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8481 ___

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-04-21 Thread anatoly techtonik
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. --