New submission from INADA Naoki: http://docs.python.org/3.3/reference/datamodel.html#object.__reversed__ > Objects that support the sequence protocol should only provide > __reversed__() if they can provide an implementation that is more efficient > than the one provided by reversed().
collections.abc.Sequence can't provide more efficient method. It only make `reversed()` slower. ---------- components: Library (Lib) messages: 177688 nosy: naoki priority: normal severity: normal status: open title: collections.abc.Sequence should not provide __reversed__ versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com