The following is accepted by the compiler, even though it is not valid in Python: ``` def f(): yield 1 return 1 ``` There should be a compile error if mixing return with an argument and yield within the same function. **Update: only disallow this in Python 2 (see below).**