Revert "Adding python changes to master branch."

This reverts commit 372d29e736516213967675f89d702edcee74d56f.