Peter Sobot
ef0bd1343b
Only run GetDebugString test with cpp impl.
3 years ago
Timo Röhling
5100be2b77
Prevent integer overflow for unknown fields
...
The PyInt_FromLong() conversion function will truncate 64 bit integer
values on 32 bit architectures. We will now use the PyLong_* functions
with the appropriate minimum size for each field.
Note that this commit also switches to the unsigned versions, since the
unknown integer fields have been declared unsigned anyway.
Fixes #6205
3 years ago
Peter Sobot
4e176f29b4
Added GetDebugString to Python FileDescriptor interface.
3 years ago
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
3 years ago
Vasily Fomin
8b59d5367c
Fix typo in Descriptor docstring ( #9001 )
3 years ago
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
3 years ago
Joshua Haberman
359594f4bb
Removed Python 2.x support for Python.
3 years ago
Joshua Haberman
c70b4e570b
Removed remaining dependence on six for Python.
3 years ago
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
3 years ago
Bo Yang
d8f55782b0
Update protobuf version
3 years ago
Paul Yang
7cbc08615f
Update protobuf version ( #8887 )
3 years ago
Bo Yang
509aee4b8b
Sync from Piper @391414001
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
3 years ago
Ilya Konstantinov
991bcada05
Raise ParseError when JSON string is expected and not given ( #7935 )
...
Raise ParseError when JSON string is expected and not given
3 years ago
Deanna Garcia
367851d124
Update protobuf version
4 years ago
Deanna Garcia
5b8208ecea
Update protobuf version
4 years ago
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
52784ced2f
Update protobuf version ( #8633 )
4 years ago
Deanna Garcia
cab253ec5e
Removing python_protobuf.h/cc
4 years ago
Adam Cozzette
652d99a8ee
Update protobuf version ( #8606 )
4 years ago
Adam Cozzette
f807c02226
Update protobuf version to 3.17.0-rc2 ( #8586 )
...
* Update protobuf version
* Updated Kotlin versions and updated script to handle them
4 years ago
Adam Cozzette
7025f37cde
Update protobuf version ( #8575 )
4 years ago
Adam Cozzette
2dc747c574
Update PHP release notes and update version to 3.16.0 ( #8573 )
...
* Updated PHP release notes in packages.xml
* Update protobuf version to 3.16.0
4 years ago
Yuriy Chernyshov
c8389f8ed5
Fix constness issue detected by MSVC standard conforming mode ( #8568 )
...
This is the continuation of #8344
4 years ago
Adam Cozzette
debc03dfc5
Update protobuf version to 3.16.0-rc2 ( #8556 )
...
* Update CHANGES.txt
* Update protobuf version
4 years ago
Yuriy Chernyshov
c784b65b2a
Remove unused python_protobuf.{cc,h} ( #8513 )
...
* Remove unused python_protobuf.{cc,h} #8513
* Fix automake input
4 years ago
Joshua Haberman
ba3836703b
Sync from Piper @368866736
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
ce560630bf
Sync from Piper @368734211
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
436bd7880e
Updated version to 3.15.8 ( #8463 )
...
* Update protobuf version
* Updated CHANGES.txt and package.xml for 3.15.8
4 years ago
Alexander Reynolds
3c782fc3d6
Remove py impl skip for method desc CopyToProto test
4 years ago
Adam Cozzette
7689f00ba8
Update protobuf version ( #8448 )
4 years ago
Adam Cozzette
878be3569e
Update protobuf version
4 years ago
Joshua Haberman
96307d28f6
Sync from Piper @364389596
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
6aa539bf01
Update protobuf version
4 years ago
Adam Cozzette
4fff47a418
Update protobuf version
4 years ago
Alexander Shadchin
87dd07b436
Switch on "new" buffer API ( #8339 )
...
"Old" buffer API will removed in Python 3.10. This is also fix #7930 .
4 years ago
Adam Cozzette
fd8aabf32d
Update protobuf version
4 years ago
Yuriy Chernyshov
e9091e6d8c
Fix some constness / char literal issues being found by MSVC standard conforming mode ( #8344 )
...
* Fix some constness / char literal issues being found by MSVC standard conforming mode
* Switch to const_cast from C-style casts
4 years ago
Adam Cozzette
983d115bd9
Update protobuf version
4 years ago
Adam Cozzette
d7e943b8d2
Update protobuf version
4 years ago
Alexander Reynolds
393e453033
Add MethodDescriptor.CopyToProto()
4 years ago
Adam Cozzette
052dc799d2
Update protobuf version
4 years ago
Adam Cozzette
133e5e7526
Update protobuf version
4 years ago
Adam Cozzette
de701c660b
Update protobuf version
4 years ago
Adam Cozzette
ac9218c5d9
Update protobuf version
4 years ago
Adam Cozzette
ae50d9b990
Update protobuf version
4 years ago
Adam Cozzette
8260126500
Update protobuf version
4 years ago
Adam Cozzette
e9f2ef308c
Update protobuf version
4 years ago
panda
74056a0e28
Make MessageToDict convert map keys to strings
4 years ago
Joshua Haberman
c2c13a558a
Fixed Python C++ extension for Python 3.8.
...
Python 3.8 changed the meaning and type of the tp_print slot.
4 years ago