Dominik V. <dominik.vilsmeier1...@gmail.com> added the comment:
Indeed, thanks for clarifying. It seems I misunderstood the example, and perhaps that calls for a better separation. What about adding > By default, these interpret the number as decimal, so that `int('0144') == > 144` holds true and `int('0x144')` raises ValueError. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40340> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com