[issue2655] Create ctypes instances from buffer interface

2008-04-25 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: Implemented from_buffer() and from_buffer_copy() as rev 62497 to SVN trunk. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2655

[issue2655] Create ctypes instances from buffer interface

2008-04-25 Thread Thomas Heller
Changes by Thomas Heller [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10057/from_buffer.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2655 __ ___

[issue2655] Create ctypes instances from buffer interface

2008-04-24 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: The suggestion by Lenard Lindstrom was an additional method named 'from_buffer_copy'. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2655 __

[issue2655] Create ctypes instances from buffer interface

2008-04-18 Thread Thomas Heller
New submission from Thomas Heller [EMAIL PROTECTED]: This patch implements a .from_buffer(source, offset=0) class method from ctypes types. 'source' must expose a writeable buffer interface; the created ctypes instance will share the internal buffer of the source object; also it holds a

[issue2655] Create ctypes instances from buffer interface

2008-04-18 Thread Thomas Heller
Changes by Thomas Heller [EMAIL PROTECTED]: -- type: - behavior __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2655 __ ___ Python-bugs-list mailing list Unsubscribe: