Within selection, the compilation of the string into python bytecode can fail. This shows an appropriate message.