New submission from Achim Gaedke: The value SyntaxError.offset is for most SyntaxErrors an offset from beginning of line SyntaxError.lineno. In case of an triple-quoted string which is not at all closed, offset seems to be the offset from beginning of the buffer.
---------- components: Interpreter Core files: compile_test.py messages: 59634 nosy: AchimGaedke severity: normal status: open title: SyntaxError.offset sometimes wrong type: behavior versions: Python 2.4, Python 2.5 Added file: http://bugs.python.org/file9116/compile_test.py __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1778> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com