New submission from Isaac Morland <[EMAIL PROTECTED]>: $ cat bug_fine.py if True: max (a='a', 'b') #elif True: # pass else: pass $ python bug_fine.py File "bug_fine.py", line 2 max (a='a', 'b') SyntaxError: non-keyword arg after keyword arg $ cat bug_show.py if True: max (a='a', 'b') elif True: pass else: pass $ python bug_show.py Exception exceptions.SyntaxError: ('non-keyword arg after keyword arg', 2) in 'garbage collection' ignored Fatal Python error: unexpected exception during garbage collection Abort trap $
---------- components: Interpreter Core messages: 63448 nosy: ijmorlan severity: normal status: open title: Problem reporting non-keyword arg after keyword arg syntax error type: compile error versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2269> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com