commencing pep8 style check works; porting the patch submitted in python issue tracker