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 p-ganssle
Recipients brett.cannon, mdk, p-ganssle, serhiy.storchaka, thejcannon
Date 2020-11-19.18:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605812372.23.0.514912232234.issue35498@roundup.psfhosted.org>
In-reply-to
Content
One question I would have about this is that `.parents` is a lazily-calculated sequence, not a list or a tuple, so it's not immediately obvious what the return type of a slice would be. I don't think it makes sense to return, e.g. a `_PathParents` object with fewer parts, but I don't know if there's any traditional choice here, other than that the result of slicing Sequence is another Sequence.

The PR returns a list, but I'm inclined to say we should return a tuple.
History
Date User Action Args
2020-11-19 18:59:32p-gansslesetrecipients: + p-ganssle, brett.cannon, serhiy.storchaka, mdk, thejcannon
2020-11-19 18:59:32p-gansslesetmessageid: <1605812372.23.0.514912232234.issue35498@roundup.psfhosted.org>
2020-11-19 18:59:32p-gansslelinkissue35498 messages
2020-11-19 18:59:32p-gansslecreate