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, larry, rhettinger, serhiy.storchaka
Date 2016-01-27.22:56:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453935418.99.0.0286149636305.issue17394@psf.upfronthosting.co.za>
In-reply-to
Content
It seems odd to have a slice of a deque return a list. Are there any other examples of non-buffer protocol objects behaving like this in the standard library/built-ins? Only examples I can come up with are mmap objects and ctypes arrays (which are making raw binary data available in Python); it seems rather surprising that a Python level type like deque would slice to produce a list.
History
Date User Action Args
2016-01-27 22:56:59josh.rsetrecipients: + josh.r, rhettinger, jcea, larry, serhiy.storchaka
2016-01-27 22:56:58josh.rsetmessageid: <1453935418.99.0.0286149636305.issue17394@psf.upfronthosting.co.za>
2016-01-27 22:56:58josh.rlinkissue17394 messages
2016-01-27 22:56:58josh.rcreate