| Name: Google App Engine SDK |
| URL: https://github.com/GoogleCloudPlatform/appengine-python-standard |
| Development tools for Google App Engine |
| While most App Engine APIs have been updated for Python 3 in the above GitHub |
| repository, ProtocolBuffer is not available. Therefore, we have copied the file |
| from the old Python 2 API and are updating it ourselves for Python 3. |
| 1. Install the Google Cloud SDK (https://cloud.google.com/sdk) |
| The App Engine Python SDK is located in gcloud/platform/google_appengine/ |
| google/net/proto/__init__.py |
| google/net/proto/ProtocolBuffer.py |
| 3. Strip trailing whitespace from all files. |
| 4. Update files for Python 3. |
| * raise Exception, s --> raise Exception(s) |
| * import httplib --> from six.moves import http_client |
| * a.fromstring(s) --> a.frombytes(six.ensure_binary(s)) |
| * a.tostring() --> a.tobytes() |