Python's preferred use of tabs doesn't use tabs at all (use four spaces for indentation). If this is your coding style, the problem can be reduced to check for any tabs in the code. And this can easily be done with a simple regular expression, even with "grep", so there is no need to run the interpreter.
The py_compile method has other advantages: it also checks the syntax of Python code, which may be desirable (although it does cost a little computing power from the SVN server).