diff -r 6382a74d9599 -r 4a0f54a64496 DebugClients/Python3/DebugBase.py --- a/DebugClients/Python3/DebugBase.py Sat Nov 16 17:16:55 2013 +0100 +++ b/DebugClients/Python3/DebugBase.py Sat Nov 16 18:02:43 2013 +0100 @@ -661,9 +661,11 @@ if exctype in [SyntaxError, IndentationError]: try: - message, (filename, linenr, charnr, text) = \ - excval[0], excval[1] - except ValueError: + message = str(excval) + filename = excval.filename + linenr = excval.lineno + charnr = excval.offset + except (AttributeError, ValueError): exclist = [] realSyntaxError = True else: