[Python-ideas] Reversable

Xavier Ho contact at xavierho.com
Mon Apr 26 23:13:20 CEST 2010


On Tue, Apr 27, 2010 at 7:10 AM, cool-RR <cool-rr at cool-rr.com> wrote:

> Just something small that I thought of, and I haven't thought about this
> deeply at all, so maybe this is way wrong. But: What about adding a
> `Reversable` next to all the `Iterable` and `Container` and stuff?
>

You mean there is something Iterable we can't reverse by doing [::-1] or
calling reversed() ? This idea feels a bit too general to be useful. Any
rationales?

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100427/a73721d0/attachment.html>


More information about the Python-ideas mailing list