Geoffrey Spear added the comment: This is not a bug, it's a deliberate change.
Python 2.x doesn't "work correctly"; what you have there is an octal literal, not a 0-padded base-10 integer. Try 008 or 011 and be surprised that python 2 is "broken" and you'll see why this syntax was removed. ---------- nosy: +geoffreyspear _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23230> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com