Issue 8481: doc: ctypes no need to explicitly allocate writable memory with Structure (original) (raw)

Issue8481

Created on 2010-04-21 07:17 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg103804 - (view) Author: anatoly techtonik (techtonik) Date: 2010-04-21 07:17
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.
msg122328 - (view) Author: ysj.ray (ysj.ray) Date: 2010-11-25 04:13
I think not only Structures but also other ctypes can be passed with byref() to functions expecting pointer to mutable memory.
msg383958 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2020-12-29 04:41
This is a not a bug, it asks for parameter types to explained. API documentation reference should provide the guidance.
History
Date User Action Args
2022-04-11 14:57:00 admin set github: 52727
2020-12-29 04:41:38 orsenthil set status: open -> closedversions: + Python 3.10, - Python 2.6, Python 2.7nosy: + orsenthilmessages: + resolution: wont fixstage: resolved
2014-10-04 21:15:14 francismb set type: enhancement
2010-11-25 04:13:49 ysj.ray set nosy: + ysj.raymessages: +
2010-05-29 20:51:09 eric.araujo set priority: normalassignee: flox -> thellernosy: + theller, - flox
2010-05-29 20:49:38 eric.araujo set priority: normal -> (no value)assignee: theller -> floxnosy: + docs@python, flox, - theller
2010-04-24 13:28:49 georg.brandl set assignee: georg.brandl -> thellernosy: + theller
2010-04-21 07:17:05 techtonik create