Fix Python files to comply with PEP8 1.5.0 (rebased onto dev_4_4)



This is the same as gh-85 but rebased onto dev_4_4.

----