Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
See also issue21041. First than add support for slices, we should make a decision about negative indices. In any case this is a new feature, which can be only added in the future 3.8 release. ---------- dependencies: +pathlib.PurePath.parents rejects negative indexes nosy: +serhiy.storchaka versions: +Python 3.8 -Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com