[issue3612] Add some basic mssing types in ctypes.wintypes

Thomas Heller report at bugs.python.org
Wed Aug 20 20:31:04 CEST 2008


Thomas Heller <theller at ctypes.org> added the comment:

I think this is too fancy.  I would prefer to spell the definitions out
like this:

  LPDWORD = PDWORD = POINTER(DWORD)
  LPCSTR = LPSTR = c_wchar_p

We could avoid the giant __all__ list when we 'import ctypes as _ctypes'
and write (for example):

  DWORD = _ctypes.c_ulong

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3612>
_______________________________________


More information about the Python-bugs-list mailing list