Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
If we break compatibility in any case, what if return None instead of 0? The function always returning 0 looks strange. The function always returning None is common. ---------- nosy: +serhiy.storchaka versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue2122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com