New submission from Lukas Meuser <[EMAIL PROTECTED]>: Octal literals containing an 8 or a 9 should raise a SyntaxError, but 8 ist accepted as the first character of such a literal (e.g., 0o8 or 0o876, but not 0o678). Those literals evaluate to 0.0. The fix for this is trivial, a patch against current SVN (r62479) is attached.
---------- components: Interpreter Core files: octal_literals.diff keywords: patch messages: 65729 nosy: lukas.meuser severity: normal status: open title: octal literals beginning with 8 don't raise a SyntaxError type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file10085/octal_literals.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2681> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com