classification
Title: PyList_GetSlice does not indicate negative ranges dont work as in python.
Type: behavior Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: Retro, georg.brandl, ideasman42
Priority: normal Keywords: patch

Created on 2009-05-08 12:35 by ideasman42, last changed 2009-06-04 10:16 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
slice.diff ideasman42, 2009-05-08 23:36
Messages (4)
msg87438 - (view) Author: Campbell Barton (ideasman42) * Date: 2009-05-08 12:35
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.
msg87439 - (view) Author: BoĊĦtjan Mejak (Retro) Date: 2009-05-08 12:55
You have mispelled a word in the patch. The sentence should be  Negative
indices not supported.

Please make another patch without the "indicies" typo.
msg87480 - (view) Author: Campbell Barton (ideasman42) * Date: 2009-05-08 23:36
added to setslice too, fixed spelling error.
msg88875 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-06-04 10:16
Documented in r73213.
History
Date User Action Args
2009-06-04 10:16:09georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg88875
2009-05-08 23:36:43ideasman42setfiles: + slice.diff

messages: + msg87480
2009-05-08 23:36:04ideasman42setfiles: - slice.diff
2009-05-08 12:55:54Retrosetnosy: + Retro
messages: + msg87439
2009-05-08 12:35:56ideasman42create