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 barry
Recipients akira, barry, pitrou, r.david.murray
Date 2014-07-14.18:55:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405364158.45.0.923548653985.issue21041@psf.upfronthosting.co.za>
In-reply-to
Content
Aren't negative indexes well defined in Python?  E.g.

>>> p = Path('/tmp/tmp123/foo/bar/baz.xz')
>>> p.parents[len(p.parents)-2]
PosixPath('/tmp')

p.parents[-2] should == p.parents[len(p.parents)-2]
History
Date User Action Args
2014-07-14 18:55:58barrysetrecipients: + barry, pitrou, r.david.murray, akira
2014-07-14 18:55:58barrysetmessageid: <1405364158.45.0.923548653985.issue21041@psf.upfronthosting.co.za>
2014-07-14 18:55:58barrylinkissue21041 messages
2014-07-14 18:55:58barrycreate