Yaroslav Pankovych <flower.m...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21041> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com