Extra checks for Python code
