This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akira
Recipients akira, pitrou, r.david.murray
Date 2014-04-08.09:05:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

> An iterable which supports efficient element access using integer indices via the __getitem__() special method and defines a __len__() method that returns the length of the sequence.

.parents *is* a sequence. And it *is* confusing that it doesn't accept negative indexes -- that is how I've encountered the bug.

Antoine, could you elaborate on what are the negative consequences of negative indexes to justify breaking the expectations?
Date User Action Args
2014-04-08 09:05:31akirasetrecipients: + akira, pitrou, r.david.murray
2014-04-08 09:05:31akirasetmessageid: <>
2014-04-08 09:05:31akiralinkissue21041 messages
2014-04-08 09:05:30akiracreate