Joshua Haberman
3eeea895dd
Fixed FieldDescriptor test.
3 years ago
Joshua Haberman
ffdcc46390
Fixed a handful of reference leaks found in a debug build of Python ( #484 )
...
* Fixed some reference leaks.
* Fixed a few reference leaks.
* Fixed a few more memory errors.
* Fixed a few more reference leaks.
* Revert minimal_test.py.
* Re-enable limited API.
* Removed some debugging and spurious changes.
* Addressed PR comments.
3 years ago
Joshua Haberman
cfeb1ad685
Removed extraneous whitespace.
3 years ago
Joshua Haberman
62702b6cb1
Matched text format for maps.
3 years ago
Joshua Haberman
f7b1cd3b3e
Fixed TextFormat tests by providing testdata.
3 years ago
Joshua Haberman
3eae44bada
Refine the exception type when assigning improper attributes.
3 years ago
Joshua Haberman
1c37c488d4
Refined error message.
3 years ago
Joshua Haberman
8af637bcd2
Added extension field numbers.
3 years ago
Joshua Haberman
c75b39fc4d
Accept bytes object as field name.
3 years ago
Joshua Haberman
61d6eff5c4
Throw the proper errors for message initialization failure.
3 years ago
Joshua Haberman
4984a22e75
Fixed error message when serializing with required fields missing.
3 years ago
Joshua Haberman
bca2688f3a
Implemented weird behavior when a field contains invalid UTF-8.
3 years ago
Joshua Haberman
3b25e6fde3
Implemented msg.<NAME>_FIELD_NUMBER attributes.
3 years ago
Joshua Haberman
4993f7a73a
Sort ListFields() results.
3 years ago
Joshua Haberman
cbe314d91e
Implemented IsInitialized(), fixing several more tests.
3 years ago
Joshua Haberman
586f84cd30
Properly check type of integers when converting.
3 years ago
Joshua Haberman
7de3052fbb
Implemented reverse().
3 years ago
Joshua Haberman
4447d87695
Fixed tests that were missing enum type wrapper class.
3 years ago
Joshua Haberman
a2e280e865
Fixed slice assignment of unequal length.
3 years ago
Joshua Haberman
2fea0ea19d
Implemented iteration over extension dict.
...
Unfortunately this didn't make the test pass, because it relies on
a specific iteration order.
3 years ago
Joshua Haberman
1be47593f0
Fixed disconnecting before Clear().
3 years ago
Joshua Haberman
7a24340a26
Fixed some more tests.
3 years ago
Joshua Haberman
a754a370a9
Added beginnings of support for descriptor DB.
3 years ago
Joshua Haberman
fc725be5bc
Implemented proper unescaping of bytes defaults.
3 years ago
Joshua Haberman
8f0a2cd603
Implemented the behavior of ignoring duplicate added filenames.
3 years ago
Joshua Haberman
89ff28cead
Fixed a few tests: extensions are not fields.
3 years ago
Joshua Haberman
7260346e30
Fixed validation of extension field descriptors.
3 years ago
Joshua Haberman
0549fc0ce1
Fixed several tests.
3 years ago
Joshua Haberman
69d948a9cb
Implemented deep copy for repeated fields.
3 years ago
Joshua Haberman
1437245d41
Fixed or accounted for nearly all errors in message_test.
3 years ago
Joshua Haberman
33b6049871
Fixed test_util.py so that golden data can be found.
3 years ago
Joshua Haberman
c2209d1a29
Enabled custom options.
3 years ago
Joshua Haberman
480a33f2a4
Fixed message equality for extensions.
3 years ago
Joshua Haberman
627c44be1f
Initial commit of ExtensionDict.
3 years ago
Joshua Haberman
bf74b3e7fd
Added map support.
3 years ago
Joshua Haberman
e580ab686d
Changed skips to expected failures.
3 years ago
Joshua Haberman
b0f81596be
All tests passing!
3 years ago
Joshua Haberman
55e5da5489
Implemented DescriptorPool methods.
3 years ago
Joshua Haberman
aee30144cc
Fixed a couple bugs.
3 years ago
Joshua Haberman
54b605026d
Fixed a bug in ListFields().
3 years ago
Joshua Haberman
55a24d94d3
Added missing conversion of message values.
3 years ago
Joshua Haberman
6826cc9ea0
Converted skips to expected failures where possible.
3 years ago
Joshua Haberman
da71fdeeb2
Addressed PR comments.
3 years ago
Joshua Haberman
4423e917ad
All tests in the repo are passing.
3 years ago