ccc using python 2.5 specific features

This used to work, but since I updated to latest SVN version of clang,
it no longer works:

$ /home/edwin/llvm-svn/llvm/tools/clang/utils/ccc p.c
Traceback (most recent call last):
  File "/home/edwin/llvm-svn/llvm/tools/clang/utils/ccc", line 197, in ?
  File "/home/edwin/llvm-svn/llvm/tools/clang/utils/ccc", line 186, in main
    if extension(file) != "o":
  File "/home/edwin/llvm-svn/llvm/tools/clang/utils/ccc", line 40, in
    return path.rpartition(".")[2]
AttributeError: 'str' object has no attribute 'rpartition'

$ python -V
Python 2.4.4
$ python2.5 -V
Python 2.5.2a0

I had to change the ccc script to use python2.5 explicitly:
#!/usr/bin/env python2.5

Best regards,