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 rhettinger
Recipients r.david.murray, rhettinger, serhiy.storchaka, staticshock
Date 2016-07-29.07:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Take a look at the following code from in Python2.7 to get an idea of how this was implemented previously:

    def __getslice__(self, i, j):
        i = max(i, 0); j = max(j, 0)
        return self.__class__([i:j])
    def __setslice__(self, i, j, other):
        i = max(i, 0); j = max(j, 0)
        if isinstance(other, UserList):
  [i:j] =
        elif isinstance(other, type(
  [i:j] = other
  [i:j] = list(other)
    def __delslice__(self, i, j):
        i = max(i, 0); j = max(j, 0)
Date User Action Args
2016-07-29 07:06:35rhettingersetrecipients: + rhettinger, r.david.murray, serhiy.storchaka, staticshock
2016-07-29 07:06:35rhettingersetmessageid: <>
2016-07-29 07:06:35rhettingerlinkissue27639 messages
2016-07-29 07:06:35rhettingercreate