Merge branch 'main' into avm99963-monorail
Merged commit 34d8229ae2b51fb1a15bd208e6fe6185c94f6266
GitOrigin-RevId: 7ee0917f93a577e475f8e09526dd144d245593f4
diff --git a/third_party/google/README.monorail b/third_party/google/README.monorail
new file mode 100644
index 0000000..c9043a3
--- /dev/null
+++ b/third_party/google/README.monorail
@@ -0,0 +1,35 @@
+Name: Google App Engine SDK
+URL: https://github.com/GoogleCloudPlatform/appengine-python-standard
+Version: May 18, 2022
+License: Apache 2.0
+License File: LICENSE
+Security Critical: no
+Description:
+Development tools for Google App Engine
+Local Modifications:
+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/
+2. Retain only:
+ google/net/__init__.py
+ google/net/proto/__init__.py
+ google/net/proto/ProtocolBuffer.py
+ LICENSE
+3. Strip trailing whitespace from all files.
+4. Update files for Python 3.
+ Syntax changes:
+ * raise Exception, s --> raise Exception(s)
+
+ Import moves:
+ * import httplib --> from six.moves import http_client
+
+ String changes:
+ * a.fromstring(s) --> a.frombytes(six.ensure_binary(s))
+ * a.tostring() --> a.tobytes()
+
+ Integer changes:
+ * 1234L --> 1234
+ * long(1234) --> 1234