[Patches] [ python-Patches-1517790 ] Patch for ctypes to enable custom objects in function calls
SourceForge.net
noreply at sourceforge.net
Thu Jul 6 05:51:04 CEST 2006
Patches item #1517790, was opened at 2006-07-05 13:39
Message generated for change (Settings changed) made by nnorwitz
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: Neal Norwitz (nnorwitz)
Date: 2006-07-05 20: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
More information about the Patches
mailing list