Serhiy Storchaka added the comment: The default case is added just for silencing compiler warning. It is never executed. There are a number of places in the core that look like
assert(0); return NULL; /* or whatever */ This is a dead code, but compilers complain without it. How do you suggest to improve this code? ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31337> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com