Handle ValueError in PythonValidator. Python2 raises ValueError if the input contains an invalid escape sequence.
Handle ValueError in PythonValidator. Python2 raises ValueError if the input contains an invalid escape sequence.

jonathanslenders/ptpython