[New-bugs-announce] [issue5967] PyList_GetSlice does not indicate negative ranges dont work as in python.

Campbell Barton report at bugs.python.org
Fri May 8 14:35:57 CEST 2009


New submission from Campbell Barton <ideasman42 at gmail.com>:

simple patch, docs say that PyList_GetSlice() works like list[high:low],
but does not say that negative indices's dont work as with python slicing.

----------
assignee: georg.brandl
components: Documentation
files: slice.diff
keywords: patch
messages: 87438
nosy: georg.brandl, ideasman42
severity: normal
status: open
title: PyList_GetSlice does not indicate negative ranges dont work as in python.
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13922/slice.diff

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


More information about the New-bugs-announce mailing list