You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add some missing basic types in ctypes.wintypes #47862
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-09-28.21:10:59.169>created_at=<Date2008-08-20.05:03:51.534>labels= ['ctypes']
title='Add some missing basic types in ctypes.wintypes'updated_at=<Date2010-09-28.21:10:59.167>user='https://bugs.python.org/ocean-city'
This patch adds some basic mssing types in ctypes.wintypes.
I think pointer type like LPDWORD would be usuful too, but maybe you
cannot ignore the overhead of POINTER object creation.
Activity
ocean-city commentedon Aug 20, 2008
This patch adds some basic mssing types in ctypes.wintypes.
I think pointer type like LPDWORD would be usuful too, but maybe you
cannot ignore the overhead of POINTER object creation.
theller commentedon Aug 20, 2008
I have no objections against this patch - feel free to check it in if it
is not too late before the beta.
Also I think that LPDWORD and friends are a good idea, you should extend
the patch with them.
ocean-city commentedon Aug 20, 2008
I've committed basic type addition in r65908. Addition of LPDWORD and
its friends will follow.
ocean-city commentedon Aug 20, 2008
I've created the patch which adds LPDWORD and friends.
Can you review it?
theller commentedon Aug 20, 2008
I think this is too fancy. I would prefer to spell the definitions out
like this:
We could avoid the giant __all__ list when we 'import ctypes as _ctypes'
and write (for example):
ocean-city commentedon Aug 20, 2008
How about the attached patch "avoid_giant_all.patch"?
ocean-city commentedon Aug 20, 2008
And "avoid_giant_all_and_add_LPs.patch" adds bunch of LP(C)s.
I'm not sure all LP types are needed. (Especially handle types)
ocean-city commentedon Aug 21, 2008
Module will be deleted at the end of file anyway (delete _ctypes), maybe
we could just do "import ctypes" and "delete ctypes".
[-]Add some basic mssing types in ctypes.wintypes[/-][+]Add some missing basic types in ctypes.wintypes[/+]ocean-city commentedon Sep 28, 2010
Sorry for too late. I've committed in r85073(py3k).