[Python-Dev] PEP 3188: Implementation Questions

Meador Inge meadori at gmail.com
Tue Mar 2 03:05:49 CET 2010


On Sat, Feb 27, 2010 at 11:20 AM, Thomas Heller <theller at ctypes.org> wrote:

> See issue 887237:
>
> http://bugs.python.org/issue887237
>

Thanks for the link Thomas.  Since there is already interest in adding
arithmetic to ctypes, perhaps that is an option.  One question that raises
in my mind, though, is should only 'long double' unpack to a ctype in that
case?  Or should all items unpack to ctypes now?  It seems to me that you
would want everything to unpack to types from the same family (e.g. Python
builtins or ctypes).  This seems conceptually cleaner and the
interoperability between types in the same "family" are (or can be in the
case of modifying ctypes) more clearly defined.

Thanks,

-- Meador
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100301/22a241e6/attachment-0001.html>


More information about the Python-Dev mailing list