Serhiy Storchaka added the comment: Could you please provide a simple example that benefits from this change?
Besides index() Node.insertBefore() uses insert() that has linear complexity too. In any case this is a new feature that can go only in 3.6. ---------- assignee: -> serhiy.storchaka stage: -> patch review versions: +Python 3.6 -Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24424> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com