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

Thomas Wouters report at bugs.python.org
Thu Aug 30 22:36:11 CEST 2007


Thomas Wouters added the comment:

Hmmm.... Well, that's fine by me, but it changes current behaviour, and
in a way that ctypes own testsuite was testing, even ;) (it does, e.g.,
'p[:4]' in a couple of places.) Requiring the start always would
possibly break a lot of code. We could make only the start (and step)
optional, and the start only if the step is positive, perhaps? That
would change no existing, sane behaviour.

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


More information about the Python-bugs-list mailing list