Final Python development

Final sync before moving Python to the master branch.