Ronald Oussoren <ronaldoussoren at mac.com> added the comment: It doesn't, both 0b101 and 0o101 get rejected as syntax errors. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue41491> _______________________________________