Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2,860 changes: 2 additions & 2,858 deletions python_vm_runtime/RELEASE_NOTES

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions python_vm_runtime/VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
release: "1.9.15"
timestamp: 1413915397
release: "1.9.22"
timestamp: 1431461849
api_versions: ['1']
supported_api_versions:
python:
Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/appcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/backends_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/bulkload_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/bulkloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
4 changes: 2 additions & 2 deletions python_vm_runtime/demos/php/guestbook/app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
application: guestbook
version: 1
runtime: php
runtime: php55
api_version: 1

handlers:
Expand All @@ -15,4 +15,4 @@ env_variables:
PRODUCTION_CLOUD_SQL_INSTANCE: '/cloudsql/guestbook:my-cloudsql-instance'
PRODUCTION_DB_USERNAME: ''
PRODUCTION_DB_PASSWORD: ''
PRODUCTION_DB_NAME: 'guestbook'
PRODUCTION_DB_NAME: 'guestbook'
2 changes: 1 addition & 1 deletion python_vm_runtime/demos/php/minishell/app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
application: shell-php
version: 1
runtime: php
runtime: php55
api_version: 1

handlers:
Expand Down
4 changes: 2 additions & 2 deletions python_vm_runtime/demos/php/mod_rewrite/app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
application: mod_rewrite_simulator
application: mod-rewrite-simulator
version: 1
runtime: php
runtime: php55
api_version: 1

handlers:
Expand Down
4 changes: 2 additions & 2 deletions python_vm_runtime/demos/php/sendpage/app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
application: sendpage
version: 1
runtime: php
runtime: php55
api_version: 1

handlers:
Expand All @@ -10,4 +10,4 @@ handlers:

- url: /.*
script: index.php
login: admin
login: admin
6 changes: 6 additions & 0 deletions python_vm_runtime/download_appstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/endpointscfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
6 changes: 6 additions & 0 deletions python_vm_runtime/gen_protorpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import os
import sys
import time

sys_path = sys.path
try:
Expand All @@ -34,6 +35,11 @@
sys.path = sys_path

wrapper_util.reject_old_python_versions((2, 5))
if sys.version_info < (2, 6):
sys.stderr.write(
'WARNING: In an upcoming release the SDK will no longer support Python'
' 2.5. Users should upgrade to Python 2.6 or higher.\n')
time.sleep(1)



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def Deserializer(stream_or_string, **options):
stream = StringIO(stream_or_string)
else:
stream = stream_or_string
for obj in PythonDeserializer(yaml.load(stream), **options):
for obj in PythonDeserializer(yaml.safe_load(stream), **options):
yield obj

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BaseChartEncoder(object):

def __init__(self, chart):
self.extra_params = {} # You can add specific params here.
self.url_base = 'http://chart.apis.google.com/chart'
self.url_base = 'https://www.google.com/chart'
self.formatters = self._GetFormatters()
self.chart = chart
self.enhanced_encoding = False
Expand Down
Loading