Feng Xiao
6bbe197e9c
Down-integrate from google3.
7 years ago
Adam Cozzette
9e1286b949
Updated version numbers to 3.6.1
7 years ago
Ben Webb
0a59054c30
Add Python 3.7 compatibility ( #4862 )
...
Compilation of Python wrappers fails with Python 3.7 because
the Python folks changed their C API such that
PyUnicode_AsUTF8AndSize() now returns a const char* rather
than a char*. Add a patch to work around. Relates #4086 .
7 years ago
Thomas Colthurst
79700b56b9
Update message_module.cc ( #4835 )
...
* Update message_module.cc
Add missing piece from pull request #4698 : actually initialize the new API object.
* Update message_module.cc
7 years ago
Thomas Colthurst
1ae2cc02b6
Fix capsule name. ( #4836 )
...
Internal convert file was broken. Change the capsule to the correct name
7 years ago
Yuchen Xie
595231dd5c
Update minimal Python version to 2.7 ( #4207 )
7 years ago
Thomas Colthurst
7c6514245b
Introduce Proto C API; based on cl/198113115 by amauryfa
7 years ago
Jisi Liu
45eb28b588
Update version number to 3.6.0
7 years ago
Thomas Hisch
451e0446ab
Add __init__.py files to compiler and util subpackages ( #4117 )
...
The compiler and util subpackages are created by the build_py class in
setup.py. This has caused an issue in the protobuf package in
conda-forge (https://github.com/conda-forge/protobuf-feedstock/issues/40 ),
which is fixed by this commit.
7 years ago
Paul Yang
c931743461
Merge branch ( #4466 )
...
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
7 years ago
Adam Cozzette
11d26ce24c
Removed unused variables in repeated_scalar_container.cc
7 years ago
Adam Cozzette
8b3a72f3e9
Removed unused code pertaining to shared_ptr
7 years ago
Adam Cozzette
c5fcce5f69
Added pyext/thread_unsafe_shared_ptr.h
7 years ago
Adam Cozzette
3fa5dadb61
Removed unrecognized option from no_package.proto
7 years ago
Adam Cozzette
0400cca323
Integrated internal changes from Google
7 years ago
Bo Yang
b5fbb742af
Bump version number to 3.5.2
7 years ago
Jie Luo
e34ec6077a
Only check filenames when end with .py in _CalledFromGeneratedFile() ( #4262 )
...
* Cython's stack does not have .py file name. Only check filenames when end with .py for _CalledFromGeneratedFile()
7 years ago
Jisi Liu
050fc9a437
Update version number to 3.5.1
7 years ago
cyyber
0e2089c775
Calling Keychecker before checking key in MessageMap
7 years ago
Jisi Liu
594ec2262c
Fix python descriptor test.
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Jisi Liu
cf65a7946f
Update version for 3.5.0.post1
7 years ago
Jie Luo
45d99a15f3
Add _file_desc_by_toplevel_extension back
...
Add _file_desc_by_toplevel_extension back for compatibility issue with 3.4.1.
_file_desc_by_toplevel_extension is a temporary solution for FieldDescriptor.file.
FieldDescriptor.file was added in code gen. However, we need to keep it for some time for compatibility reason (with 3.4.1 only). May try to remove it after 2 years.
7 years ago
Jisi Liu
97dd175a91
Update version number to 3.5.0
8 years ago
Roman Nekhoroshev
da3bfa693a
Fix a typo in WKT's test suite
...
Hi!
Sorry for bothering with such a minor thing, but I just noticed and fixed one annoying typo in WKT's test suite:
`"accpets" -> "accepts"`
Thanks!
8 years ago
Jisi Liu
1a7a7fca80
Merge from google internal
8 years ago
Juan Leni
08334f0908
Converting to immutable hashable types
8 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
8 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
8 years ago
cclauss
472f700884
remove the parens from the cmp() lambda definition ( #3526 )
...
* remove the parens from the cmp() lambda definition
https://github.com/PythonCharmers/python-future/pull/298
* remove the parens from the cmp() lambda definition
https://github.com/PythonCharmers/python-future/pull/298
8 years ago
cclauss
a04eb8c191
Define cmp() for Python 3 ( #3517 )
...
* Define cmp() for Python 3
http://python-future.org/compatible_idioms.html?highlight=cmp#cmp
* Define cmp() for Python 3
http://python-future.org/compatible_idioms.html?highlight=cmp#cmp
8 years ago
cclauss
dded80f924
define long() for Python 3
8 years ago
Jie Luo
f5817b3056
PY26 tests compatibility
...
1, Some tests in reflection_test PY26 raise TypeError but other versions raise ValueError for convert negative long to unsigned
2, Change compare exception type to compare exception str for testDuplicateExtensionNumber. Original code raise 'Double registration of Extensions' is not an instance of (<type 'exceptions.AssertionError'>, <type 'exceptions.ValueError'>) for PY26 cpp implementation
t
8 years ago
Jie Luo
9150cd8603
Skip setUpClass which is newly added in python2.7 for python2.6
8 years ago
Jisi Liu
759245a49a
Merge from master
8 years ago
Jie Luo
9c012ed07d
Add __bool__ as well as __nonzero__ for python3
8 years ago
Jisi Liu
7bb39bef1a
Update version number for 3.4.0
8 years ago
Jie Luo
a484794820
Use keys() instead of iterkeys() to be python3 compatbile.
8 years ago
Jisi Liu
dd091aad48
Fix code to use values() instead
8 years ago
Jisi Liu
b07cdb6e8e
Use itmes() instead of itervalues() to be python3 compatbile.
8 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
8 years ago
Changming Sun
4987ddac75
Fix a bazel build error on Windows
8 years ago
Brian J. Watson
5555d3b078
Fix typos in comment
8 years ago
Bo Yang
e7bcfc4241
Update version number to 3.3.2
8 years ago
Feng Xiao
58538ea919
Update version number to 3.3.1
8 years ago
Feng Xiao
478119fe77
Fix python3 issue.
8 years ago
Jie Luo
899460c9cb
cherrypick descriptor_pool.FindFileContainingSymbol by extensions ( #2962 )
...
* Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
* Cherrypick the fix descriptor_pool.FindFileContainingSymbol by extensions.
8 years ago
Feng Xiao
80f0c0ac40
Update version number and changelog for 3.3.0
8 years ago
Jie Luo
c348d46a9b
Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
8 years ago
Feng Xiao
d36c0c538a
Down-integrate from google3.
8 years ago