Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Using index() simplifies the code. Adding deprecation warnings complicates it. The PR consists of two commits, look at the first one to see how the code can finally look. If you think that the deprecation is not needed, we can just keep the simplified version. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37319> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com