# PR#235, Jython crashes (i.e. uncaught Java exception) under strange # (illegal) input. bogus = '''\ def f(x, z, x): pass f(y=1) ''' try: compile(bogus, '', 'exec') except SyntaxError: pass