Revert "shape: Fixed buffer usage for Python 3.x"
This reverts commit bdf9b78.
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