aboutsummaryrefslogtreecommitdiffhomepage
path: root/python
Commit message (Collapse)AuthorAge
* A few more cases for binary conformance tests. (#2500)Gravatar Joshua Haberman2017-01-06
| | | | | | | | | | | * A few more cases for binary conformance tests. * over-encoded varints (encoded in more bytes than are necessary). * truncated varints (>32 bits for 32-bit types). * Fixed Python decoding bug with 32-bit varints. * Fixed 1L -> 1LL for 32-bit platforms.
* Factored Conformance and Benchmark test messages into shared test schema. ↵Gravatar Joshua Haberman2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1971) * Factored Conformance test messages into shared test schema. * Updated benchmarks to use new proto3 message locations. * Fixed include path. * Conformance: fixed include of Python test messages. * Make maven in Rakefile use --batch-mode. * Revert changes to benchmarks. On second thought I think a separate schema for CPU benchmarking makes sense. * Try regenerating C# protos for new test protos. * Removed benchmark messages from test proto. * Added Jon Skeet's fixes for C#. * Removed duplicate/old test messages C# file. * C# fixes for test schema move. * Fixed C# to use the correct TestAllTypes message. * Fixes for Objective C test schema move. * Added missing EXTRA_DIST file.
* Updated descriptor_pool.py to be compatible with Python 3Gravatar Adam Cozzette2016-11-22
| | | | | In Python 3 the values() method on a dictionary returns a view instead of a list, so we need to explicitly convert that to a list.
* Fixed descriptor_pool_test.py for Python 2.6Gravatar Adam Cozzette2016-11-22
| | | | | The curly brace syntax for sets was introduced in Python 2.7, and so for compatibility with 2.6 we need to avoid using it for now.
* Merge branch 'master' into down-integrate-with-msvc-fixGravatar Adam Cozzette2016-11-17
|\
* | Integrated internal changes from GoogleGravatar Adam Cozzette2016-11-17
| |
| * typoGravatar Ian Hunter2016-11-16
| |
| * Use -DPROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOSGravatar Richard Shin2016-10-19
|/
* Fix python_cpp test on Mac. Link staticly when building extension, so that ↵Gravatar Paul Yang2016-10-10
| | | | the extension doesn't require installing protobuf library. (#2232)
* Fix python cpp.Gravatar Bo Yang2016-10-10
|
* Update version number.Gravatar Feng Xiao2016-10-10
| | | | | | [skip ci] Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
* Fix python bugs for internal integration.Gravatar Bo Yang2016-10-10
|
* Bump version number to 3.1.0-alpha-1.Gravatar Bo Yang2016-10-10
|
* Integrate internal changesGravatar Bo Yang2016-10-10
|
* Merge remote-tracking branch 'origin/3.0.x' into mergeGravatar Jisi Liu2016-09-14
|\
| * Bump version number to 3.0.2Gravatar Jisi Liu2016-09-02
| |
* | Fix to typo/oversight in python testsGravatar Jonathon Love2016-09-02
| | | | | | | | Fix to typo/oversight in python tests, only affecting python 3
* | Typo: beffer -> bufferGravatar Adam Matan2016-08-03
|/
* add setup.cfg for building wheelsGravatar Jisi Liu2016-07-29
|
* Bump version number for GAGravatar Jisi Liu2016-07-25
|
* Update version number to 3.0.0-beta-4Gravatar Feng Xiao2016-07-13
|
* Integrate from internal code base.Gravatar Feng Xiao2016-07-13
|
* Fix spelling in strings and commentsGravatar Otto Kekäläinen2016-07-03
|
* Fixed string formatting in text_format.py to be Python2.6-compatibleGravatar Adam Cozzette2016-06-30
| | | | | | In Python 2.6 the positional argument specifiers are apparently required to be explicitly specified: http://stackoverflow.com/questions/10054122/valueerror-zero-length-field-name-in-format-python
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | This includes all internal changes from around May 20 to now.
* Make surrogate regex even more lenient.Gravatar Josh Haberman2016-06-06
|
* JSON surrogates Python: adjust regex for OSX error message.Gravatar Josh Haberman2016-06-06
| | | | | OS X's version of Python has a slightly different error message for this error case.
* Added test for surrogates (valid and invalid).Gravatar Josh Haberman2016-06-03
|
* Surrogate checking is unpredictable, so always manually check.Gravatar Josh Haberman2016-06-03
|
* Fixed Python by updating failure lists and fixed a few broken tests.Gravatar Josh Haberman2016-06-03
| | | | | Python 2.x doesn't detect unpaired surrogates so we have to do that manually.
* Merge pull request #1559 from google/beta-3Gravatar Jisi Liu2016-05-18
|\ | | | | Merge beta-3 release branch again.
* | JSON format for Any message must print @type first, use OrderedDict instead ↵Gravatar Jie Luo2016-05-17
| | | | | | | | of {}
| * Added download_url to be able to upload to pypi.Gravatar Jisi Liu2016-05-17
|/
* Update version numbers for beta3Gravatar Jisi Liu2016-05-10
|
* Fix using std::shared_ptrGravatar Jisi Liu2016-05-05
|
* Fix the std::string error introduced in integration.Gravatar Jisi Liu2016-05-05
|
* Down integrate from Google internal.Gravatar Jisi Liu2016-04-28
|
* Merge branch 'master' of github.com:google/protobufGravatar Jisi Liu2016-04-01
|\
| * Linking the cpp implementation extension statically with libprotobufGravatar Manjunath Kudlur2016-04-01
| |
* | Disable sign-compare warning.Gravatar Jisi Liu2016-03-31
| |
* | Fix signed-compare warning.Gravatar Jisi Liu2016-03-31
| |
* | revert unexpected change for py26Gravatar Jisi Liu2016-03-31
| |
| * Added an API to allow oversize protos when using C++ extension in PythonGravatar Manjunath Kudlur2016-03-31
| |
* | Fix json_format.py in py26Gravatar Jisi Liu2016-03-31
| |
* | Merge branch 'master' of github.com:google/protobufGravatar Jisi Liu2016-03-30
|\|
* | Integrate google internal changes.Gravatar Jisi Liu2016-03-30
| |
| * Merge pull request #1306 from silviulica/masterGravatar Joshua Haberman2016-03-07
| |\ | | | | | | Update version to 3.0.0b2.post2
| | * Update version to 3.0.0b2.post2Gravatar Silviu Calinoiu2016-03-07
| |/ |/|
| * Add back the namespace_packages arg in setup.py.Gravatar Craig Citro2016-03-05
|/ | | | | | | | | | | | | | | | | | | Improves #1296. The problem: in the previous patch, we tweaked the __init__.py files to use namespaces, but no longer declared ourselves as a namespace package. The second half was unwise. Note that this only comes up when installing protobuf alongside another package that also installs into the google namespace; as of right now, the only PyPI package that does is googleapis-common-protos, though the GAE SDK also uses google.appengine. Installing either or both of those alongside this package now works. The case that still remains is the upgrade path, which is also what worried me in #713. It seems that if protobuf 2.6.1 is installed, there's no way to safely upgrade that to work with a newer protobuf. However, `pip uninstall` && `pip install` does the trick.
* Add a modified patch from craigcitro@ to handle namespace sharing.Gravatar Silviu Calinoiu2016-02-18
|