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 ypank
Recipients akira, barry, ju-sh, maxballenger, mdk, p-ganssle, pitrou, r.david.murray, serhiy.storchaka, thejcannon, victorg, ypank
Date 2020-11-21.14:10:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605967823.98.0.449355096099.issue21041@roundup.psfhosted.org>
In-reply-to
Content
That makes sense, but should we have this behaviour only for negative indices? 

We'll end up with something lie:

path.parents[len(path.parents) - 1] != path.parents[-1]

I think that is should be consistent regardless of negative/positive indices.
History
Date User Action Args
2020-11-21 14:10:24ypanksetrecipients: + ypank, barry, pitrou, r.david.murray, akira, serhiy.storchaka, mdk, p-ganssle, thejcannon, ju-sh, victorg, maxballenger
2020-11-21 14:10:23ypanksetmessageid: <1605967823.98.0.449355096099.issue21041@roundup.psfhosted.org>
2020-11-21 14:10:23ypanklinkissue21041 messages
2020-11-21 14:10:23ypankcreate