Serhiy Storchaka added the comment: 0 and None must be different. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17200> _______________________________________