Patches item #1517790, was opened at 2006-07-05 22:39 Message generated for change (Comment added) made by theller You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1517790&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.5 Status: Open Resolution: Accepted Priority: 5 Submitted By: Thomas Heller (theller) Assigned to: Thomas Heller (theller) Summary: Patch for ctypes to enable custom objects in function calls Initial Comment: This patch allows to use custom objects as parameters in foreign function calls. The patch is very simple (actually it is more like a simple bug fix). Tests and documentation included. The patch is against the SF CVS ctypes repository, because it is simple to read imo. I'm requesting permission to apply this patch to Python current SVN before the next beta release. ---------------------------------------------------------------------- >Comment By: Thomas Heller (theller) Date: 2006-07-06 10:43 Message: Logged In: YES user_id=11105 No, i is an int. As it counts items (the number of args passed to a function call) maybe unsigned would be better but its not worth to change it. Thanks. ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2006-07-06 05:50 Message: Logged In: YES user_id=33168 Is i a Py_ssize_t? If so the format string should use %zd. This patch is acceptable for 2.5. Please update Misc/NEWS when you checkin. Also, please try to get this in ASAP so we get as much testing as possible. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1517790&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
