Rework of the python checker.