[Patches] [ python-Patches-1649190 ] Adding support for _Bool to ctypes as c_bool

SourceForge.net noreply at sourceforge.net
Thu Feb 1 16:50:39 CET 2007


Patches item #1649190, was opened at 2007-01-31 21:04
Message generated for change (Comment added) made by chmod007
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1649190&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: Modules
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Remahl (chmod007)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adding support for _Bool to ctypes as c_bool

Initial Comment:
Adds support for the C99 _Bool type to ctypes. Requires struct patch that has already been accepted in the python 2.6 train.

Updates ctypes C extension, ctypes __init__.py, ctypes documentation and ctypes tests.

----------------------------------------------------------------------

>Comment By: David Remahl (chmod007)
Date: 2007-02-01 15:50

Message:
Logged In: YES 
user_id=2135
Originator: YES

Should I prepare the patch relative to /ctypes/trunk/ctypes instead?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2007-01-31 22:05

Message:
Logged In: YES 
user_id=21627
Originator: NO

Thomas, can you take a look?

I think this needs to take into account Python versions without bool
support in the struct module, as the same ctypes code is used with older
Python releases as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1649190&group_id=5470


More information about the Patches mailing list