aboutsummaryrefslogtreecommitdiff
path: root/python/google
Commit message (Collapse)AuthorAgeFilesLines
* Straddle Python 2.6, 2.7, 3.3, 3.4.Tres Seaver2015-01-1310-123/+123
|
* Don't check in derived objects.Tres Seaver2015-01-132-0/+0
|
* Compatibility with Python2.6 unittest.Tres Seaver2015-01-133-14/+35
|
* Use 'io.BytesIO' rather than 'cStringIO.StringIO'.Tres Seaver2015-01-132-3/+3
|
* Typo.Tres Seaver2015-01-131-1/+1
|
* Merge branch 'drop-apputils-dependency' into straddle_py2_py3Tres Seaver2015-01-1323-91/+100
|\ | | | | | | | | | | | | Conflicts: python/google/protobuf/internal/message_factory_test.py python/google/protobuf/internal/reflection_test.py python/google/protobuf/internal/text_format_test.py
| * Drop dependency on 'google.apputils'.Tres Seaver2015-01-1321-91/+100
| | | | | | | | Use stdlib's 'unittest' instead.
* | Prepare for Python2-Python3 straddle.Tres Seaver2015-01-1315-198/+144
|/ | | | | | | | | | | | | - Remove PY25 cruft. - Selectively apply cleanups from 'python-modernize': - New exception syntax. - Use 'six' to handle module renames. - Use 'six' to handle text / binary stuff. This PR covers most of the work from #66 which falls inside `python` (rather than the Python code generation stuff in 'src').
* Merge pull request #46 from adalq/versionFeng Xiao2014-12-201-0/+35
|\ | | | | Add __version__
| * Updated __version__Adal Chiriliuc2014-12-141-1/+1
| |
| * Add __version__Adal Chiriliuc2014-10-101-0/+35
| | | | | | | | | | | | | | | | Added __version__ attr to package so that scripts that check local packages to see if newer versions are available can work. Almost all Python packages have a version attr, and the vast majority of them name it "__version__"
| * Revert "Add __version__"Adal Chiriliuc2014-10-102-35/+0
| | | | | | | | This reverts commit 5337cf564f5eb43c1975d1cfd87b4efba9e6bf35.
| * Add __version__Adal Chiriliuc2014-10-102-0/+35
| | | | | | | | | | | | | | | | Added __version__ attr to package so that scripts that check local packages to see if newer versions are available can work. Almost all Python packages have a version attr, and the vast majority of them name it "__version__"
* | Fix Python C++ implementation build issues:Feng Xiao2014-11-251-4/+8
| | | | | | | | | | 1. Haven't included the include path for "config.h". 2. Use of C++11 auto keyword.
* | Down-integrate from internal code base.Feng Xiao2014-11-201-1/+1
| |
* | Down-integrate from internal code base (C++ maps support).Feng Xiao2014-11-143-24/+20
| |
* | Merge branch 'typofixes-vlajos-20141108' of ↵Feng Xiao2014-11-115-5/+5
|\ \ | | | | | | | | | | | | | | | | | | https://github.com/vlajos/protobuf into typo Conflicts: src/google/protobuf/compiler/java/java_file.cc
| * | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-085-5/+5
| |/
* / Down-integrate from internal code base.Feng Xiao2014-11-1044-594/+1220
|/
* Down-integrate from internal branch.Feng Xiao2014-10-074-6/+22
|
* Replace links to code.google.com/protobuf with ↵Feng Xiao2014-10-0167-67/+67
| | | | developers.google.com/protocol-buffers
* merge tags/2.6.0 into trunkjieluo@google.com2014-08-252-22/+1
|
* make dist complains the file name is too long and refuse to put it to tar. ↵jieluo@google.com2014-08-141-1/+1
| | | | Change the file to a shorter name
* Add deleted tests back for reflection_cpp2_test.py by addtional exception catchjieluo@google.com2014-08-141-0/+47
|
* put python cpp tests into pyext/jieluo@google.com2014-08-134-26/+0
|
* down integrate python opensource to svnjieluo@google.com2014-08-1259-864/+9873
|
* down integrate to svnjieluo@google.com2014-07-185-2261/+0
|
* Down-integrate from internal branchxiaofeng@google.com2013-02-252-2/+27
|
* Fix issues: 342, 424, 428, 430, 436xiaofeng@google.com2012-12-041-6/+0
|
* Down-integrate from internal branchxiaofeng@google.com2012-09-2231-227/+3159
|
* Fixed a memory leak in python CPP implementation.liujisi@google.com2011-06-071-1/+3
|
* Escape C++ Trigraphs.liujisi@google.com2010-12-211-0/+1
|
* Boost version number to 2.4.0-pre, add more test cases for text_format.py ↵liujisi@google.com2010-12-091-4/+15
| | | | about unicode field.
* Add new files for vcprojs, fix issues: 165, 211, 228, 240liujisi@google.com2010-12-071-1/+1
|
* Fix issues: 166 167 172 175 181 188 192 194 195.liujisi@google.com2010-12-031-0/+3
|
* Submit recent changes from internal branch. See CHANGES.txt for more details.liujisi@google.com2010-11-0219-1149/+4871
|
* Fix issue 208.kenton@google.com2010-07-272-3/+33
|
* Fix issue 207kenton@google.com2010-07-272-1/+22
|
* Tweak doc comments.kenton@google.com2010-01-081-2/+6
|
* Address comments from various code reviews.kenton@google.com2010-01-071-3/+9
|
* Actually, that last revision can be simpler -- we don't need to parse ↵kenton@google.com2009-12-231-1/+1
| | | | strings at all, as simply entering 1e1000 as a float literal in Python will be evaluated as infinity.
* In Python, avoid relying on float('inf') and float('nan') as these don't ↵kenton@google.com2009-12-233-11/+42
| | | | work on Windows with Python pre-2.6.
* Same as r275 except for Python.kenton@google.com2009-12-232-2/+10
|
* Massive roll-up of changes. See CHANGES.txt.kenton@google.com2009-12-1822-3323/+3032
|
* Submit recent changes from internal branch, including "lite mode" forkenton@google.com2009-07-2915-42/+1235
| | | | | C++ and Java. See CHANGES.txt for more details.
* Fix test failure on 64-bit python.kenton@google.com2009-05-011-1/+1
|
* Integrate recent changes from Google-internal code tree. See CHANGES.txtkenton@google.com2009-04-254-2/+147
| | | | | for details.
* Improve performance of Python serialization. Patch from Will Pierce.kenton@google.com2009-04-181-6/+12
|
* Generate field number constants. Patch from Michael Poole.kenton@google.com2009-04-182-0/+53
|
* Push out changes from internal codebase.kenton@google.com2009-01-2212-96/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Languages * Repeated fields of primitive types (types other that string, group, and nested messages) may now use the option [packed = true] to get a more efficient encoding. In the new encoding, the entire list is written as a single byte blob using the "length-delimited" wire type. Within this blob, the individual values are encoded the same way they would be normally except without a tag before each value (thus, they are tightly "packed"). C++ * UnknownFieldSet now supports STL-like iteration. * Message interface has method ParseFromBoundedZeroCopyStream() which parses a limited number of bytes from an input stream rather than parsing until EOF. Java * Fixed bug where Message.mergeFrom(Message) failed to merge extensions. * Message interface has new method toBuilder() which is equivalent to newBuilderForType().mergeFrom(this). * All enums now implement the ProtocolMessageEnum interface. * Setting a field to null now throws NullPointerException. * Fixed tendency for TextFormat's parsing to overflow the stack when parsing large string values. The underlying problem is with Java's regex implementation (which unfortunately uses recursive backtracking rather than building an NFA). Worked around by making use of possesive quantifiers. Python * Updated RPC interfaces to allow for blocking operation. A client may now pass None for a callback when making an RPC, in which case the call will block until the response is received, and the response object will be returned directly to the caller. This interface change cannot be used in practice until RPC implementations are updated to implement it.