[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76be5efa0d86 by Eli Bendersky in branch '3.2': Issue #17378: ctypes documentation fix. http://hg.python.org/cpython/rev/76be5efa0d86 New changeset 2cd2d8f8f72f by Eli Bendersky in branch '3.3': Issue #17378: ctypes documentation fix.

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2dd77a12e7bf by Eli Bendersky in branch '2.7': Closing #17378: ctypes documentation fix. http://hg.python.org/cpython/rev/2dd77a12e7bf -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-07 Thread Eli Bendersky
New submission from Eli Bendersky: While playing with ctypes a bit, I noticed a feature that doesn't appear to be documented. Suppose I import the readdir_r function (assuming DIRENT is a correctly declared ctypes.Structure): DIR_p = c_void_p DIRENT_p = POINTER(DIRENT) DIRENT_pp =

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-07 Thread Eli Bendersky
Eli Bendersky added the comment: Doc patch for 3.2 -- keywords: +patch Added file: http://bugs.python.org/file29340/issue17378.1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17378 ___

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-07 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +amaury.forgeotdarc, theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17378 ___ ___

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-07 Thread Thomas Heller
Thomas Heller added the comment: Patch looks good. Please apply. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17378 ___ ___ Python-bugs-list