Josh Haberman
0b70a43736
Fixes for Python/C++ implementation in open-source:
...
* Rosy hack doesn't apply (that test should be removed
for the open-source release).
* Added our own copy of parameterized.py (the open-source
version of Google Apputils doesn't contain it).
* The C++ Descriptor object didn't implement extension_ranges.
* Had to implement a hack around returning EncodeError, to
work around the module-loading behavior of the test runner.
10 years ago
Jisi Liu
ada6556785
Down integrate from Google internal.
...
Change-Id: I34d301133eea9c6f3a822c47d1f91e136fd33145
10 years ago
zex
a4f634ce74
fix raise syntax issues for py3,
...
fix except syntax issue for py3
10 years ago
Feng Xiao
ae11803d77
Delete unused files.
10 years ago
Tres Seaver
a2abc947c0
Straddle Python 2.6, 2.7, 3.3, 3.4.
10 years ago
Tres Seaver
3d5460dd90
Don't check in derived objects.
10 years ago
Tres Seaver
71edc31f23
Compatibility with Python2.6 unittest.
10 years ago
Tres Seaver
47ee4d37c1
Use 'io.BytesIO' rather than 'cStringIO.StringIO'.
10 years ago
Tres Seaver
d25e6686d9
Typo.
10 years ago
Tres Seaver
7ee25830c6
Drop dependency on 'google.apputils'.
...
Use stdlib's 'unittest' instead.
10 years ago
Tres Seaver
f336d4b7a5
Prepare for Python2-Python3 straddle.
...
- 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').
10 years ago
Adal Chiriliuc
4f0170d465
Updated __version__
10 years ago
Feng Xiao
d1ec493a12
Fix Python C++ implementation build issues:
...
1. Haven't included the include path for "config.h".
2. Use of C++11 auto keyword.
10 years ago
Feng Xiao
99aa0f9e8f
Down-integrate from internal code base.
10 years ago
Feng Xiao
f157a5651c
Down-integrate from internal code base (C++ maps support).
10 years ago
Feng Xiao
6ef984af4b
Down-integrate from internal code base.
10 years ago
Veres Lajos
c76807211a
typo fixes - https://github.com/vlajos/misspell_fixer
10 years ago
Adal Chiriliuc
374b95146e
Add __version__
...
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__"
10 years ago
Adal Chiriliuc
6f7aa2f678
Revert "Add __version__"
...
This reverts commit 5337cf564f
.
10 years ago
Adal Chiriliuc
5337cf564f
Add __version__
...
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__"
10 years ago
Feng Xiao
0971bb0d57
Down-integrate from internal branch.
10 years ago
Feng Xiao
e428862450
Replace links to code.google.com/protobuf with developers.google.com/protocol-buffers
10 years ago
jieluo@google.com
1eba9d9c74
merge tags/2.6.0 into trunk
10 years ago
jieluo@google.com
e61b513b1f
make dist complains the file name is too long and refuse to put it to tar. Change the file to a shorter name
10 years ago
jieluo@google.com
24095cc7e5
Add deleted tests back for reflection_cpp2_test.py by addtional exception catch
10 years ago
jieluo@google.com
b70e586603
put python cpp tests into pyext/
10 years ago
jieluo@google.com
bde4a3254a
down integrate python opensource to svn
10 years ago
jieluo@google.com
4de8f55113
down integrate to svn
11 years ago
xiaofeng@google.com
7f372559cc
Down-integrate from internal branch
12 years ago
xiaofeng@google.com
eaaef0b39b
Fix issues: 342, 424, 428, 430, 436
12 years ago
xiaofeng@google.com
b55a20fa2c
Down-integrate from internal branch
12 years ago
liujisi@google.com
e8e6eed0be
Fixed a memory leak in python CPP implementation.
14 years ago
liujisi@google.com
5c20ca1fcc
Escape C++ Trigraphs.
14 years ago
liujisi@google.com
6f2c3b8734
Boost version number to 2.4.0-pre, add more test cases for text_format.py about unicode field.
14 years ago
liujisi@google.com
1fd96c43a0
Add new files for vcprojs, fix issues: 165, 211, 228, 240
14 years ago
liujisi@google.com
2726e7a6eb
Fix issues: 166 167 172 175 181 188 192 194 195.
14 years ago
liujisi@google.com
33165fe0d5
Submit recent changes from internal branch. See CHANGES.txt for more details.
14 years ago
kenton@google.com
27028bcb97
Fix issue 208.
15 years ago
kenton@google.com
0c293def6c
Fix issue 207
15 years ago
kenton@google.com
7b7a80eae4
Tweak doc comments.
15 years ago
kenton@google.com
535301894e
Address comments from various code reviews.
15 years ago
kenton@google.com
46ed74e8d4
Actually, that last revision can be simpler -- we don't need to parse strings at all, as simply entering 1e1000 as a float literal in Python will be evaluated as infinity.
15 years ago
kenton@google.com
d0047c43d9
In Python, avoid relying on float('inf') and float('nan') as these don't work on Windows with Python pre-2.6.
15 years ago
kenton@google.com
eef5f8396d
Same as r275 except for Python.
15 years ago
kenton@google.com
fccb146e3f
Massive roll-up of changes. See CHANGES.txt.
15 years ago
kenton@google.com
80b1d62bfc
Submit recent changes from internal branch, including "lite mode" for
...
C++ and Java. See CHANGES.txt for more details.
16 years ago
kenton@google.com
3d694ad2d8
Fix test failure on 64-bit python.
16 years ago
kenton@google.com
d37d46dfbc
Integrate recent changes from Google-internal code tree. See CHANGES.txt
...
for details.
16 years ago
kenton@google.com
a8e8ccf29c
Improve performance of Python serialization. Patch from Will Pierce.
16 years ago
kenton@google.com
cfa2d8aa87
Generate field number constants. Patch from Michael Poole.
16 years ago