Revert "shape: Fixed buffer usage for Python 3.x"

This reverts commit bdf9b786451340a22dc80699ef522df0f52c98a8.

This was not a solution since it fails on Python 2.6 with flake8.
shape: Added "noqa" comments to skip flake8 processing

This should fix the "undefined name" errors on Python 3.x
Merge pull request #41 from Turbo87/pep8

Improved PEP8 checking