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 josh.r
Recipients jcea, josh.r, r.david.murray, rhettinger
Date 2014-06-14.02:06:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402711583.11.0.232071405074.issue21744@psf.upfronthosting.co.za>
In-reply-to
Content
I will admit, on further consideration, a dedicated sequenceview might work more nicely. islice's interface is limited by its generality; since it doesn't assume a length, you can't use a negative value for end.

Does anyone think a general sequenceview class would make sense (or a sequenceview function that returns either a general sequenceview or a memoryview, depending on what the underlying type is)? Might make an interesting project, whether or not islice is improved.
History
Date User Action Args
2014-06-14 02:06:23josh.rsetrecipients: + josh.r, rhettinger, jcea, r.david.murray
2014-06-14 02:06:23josh.rsetmessageid: <1402711583.11.0.232071405074.issue21744@psf.upfronthosting.co.za>
2014-06-14 02:06:23josh.rlinkissue21744 messages
2014-06-14 02:06:22josh.rcreate