|
|
|
@ -80,8 +80,8 @@ if _implementation_type != 'python': |
|
|
|
|
|
|
|
|
|
# This environment variable can be used to switch between the two |
|
|
|
|
# 'cpp' implementations, overriding the compile-time constants in the |
|
|
|
|
# _api_implementation module. Right now only 1 and 2 are valid values. Any other |
|
|
|
|
# value will be ignored. |
|
|
|
|
# _api_implementation module. Right now only '2' is supported. Any other |
|
|
|
|
# value will cause an error to be raised. |
|
|
|
|
_implementation_version_str = os.getenv( |
|
|
|
|
'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION', '2') |
|
|
|
|
|
|
|
|
|