Python3: Only check errors if we can't compile