Branched old code to port to new python provider interface.
Authored by: bartw 2008-09-15
Parent: [r970]
Child: [r972]