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 mdk
Recipients akira, barry, mdk, pitrou, r.david.murray, thejcannon
Date 2019-09-13.10:30:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I checked conversation in #7951, tells about an ambiguity because it could be an index from a sequence or a key for a dict, like {-1: "foo"}.

Here there is no such confusion.

Confusion *may* arrise from the fact that it's not composed of parts, but more like it's already sliced, I mean it does NOT look like:

   ['/', 'home', 'mdk', 'clones', 'python']

It's more like:

   ['/home/mdk/clones/python', '/home/mdk/clones', '/home/mdk', '/home', '/']

In fact I'd say it behave more like a function call than a sequence access, I read:


a bit like:


It may explain why negative indices or slices were initially not implemented: It already looks like the result of a slice.
Date User Action Args
2019-09-13 10:30:41mdksetrecipients: + mdk, barry, pitrou, r.david.murray, akira, thejcannon
2019-09-13 10:30:40mdksetmessageid: <>
2019-09-13 10:30:40mdklinkissue21041 messages
2019-09-13 10:30:40mdkcreate