[issue1617699] slice-object support for ctypes Pointer/Array

Thomas Heller report at bugs.python.org
Thu Aug 30 20:15:18 CEST 2007


Thomas Heller added the comment:

Set to accepted.  As pointed out in private email, please apply it to
the trunk.

Your thoughts about the 'length' of pointers make sense, and are very
similar to what I had in mind when I implemented pointer indexing.

For indexing pointers, negative indices (in the C sense, not the usual
Python sense) absolutely are needed, IMO.  For slicing, missing indices 
do not really have a meaning - would it be possible to disallow them?

----------
resolution:  -> accepted

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1617699>
_____________________________________


More information about the Python-bugs-list mailing list