protobuf 6.32.0__tar.gz → 6.32.0rc2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of protobuf might be problematic. Click here for more details.
- {protobuf-6.32.0/protobuf.egg-info → protobuf-6.32.0rc2}/PKG-INFO +1 -1
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/__init__.py +1 -1
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/any_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/api_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/compiler/plugin_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/duration_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/empty_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/field_mask_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/type_checkers.py +3 -36
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/json_format.py +0 -6
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/runtime_version.py +1 -1
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/source_context_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/struct_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/text_format.py +0 -10
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/timestamp_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/type_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/wrappers_pb2.py +2 -2
- {protobuf-6.32.0 → protobuf-6.32.0rc2/protobuf.egg-info}/PKG-INFO +1 -1
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/convert.c +14 -37
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/LICENSE +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/MANIFEST.in +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/README.md +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/any.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/compiler/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upb.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upb.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upb_minitable.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upb_minitable.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upbdefs.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor.upbdefs.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor_database.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/descriptor_pool.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/duration.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/api_implementation.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/builder.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/containers.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/decoder.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/encoder.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/enum_type_wrapper.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/extension_dict.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/field_mask.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/message_listener.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/python_edition_defaults.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/python_message.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/testing_refleaks.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/well_known_types.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/internal/wire_format.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/message.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/message_factory.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/proto.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/proto_builder.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/proto_json.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/proto_text.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/pyext/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/pyext/cpp_message.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/reflection.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/service_reflection.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/symbol_database.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/testdata/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/text_encoding.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/timestamp.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/unknown_fields.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/google/protobuf/util/__init__.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/protobuf.egg-info/SOURCES.txt +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/protobuf.egg-info/dependency_links.txt +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/protobuf.egg-info/top_level.txt +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/convert.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor_containers.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor_containers.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor_pool.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/descriptor_pool.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/extension_dict.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/extension_dict.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/map.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/map.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/protobuf.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/protobuf.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/python_api.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/repeated.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/repeated.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/unknown_fields.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/python/unknown_fields.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/setup.cfg +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/setup.py +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/descriptor_constants.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/internal/endian.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/internal/log2.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/status.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/status.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/string_view.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/base/upcast.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/generated_code_support.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/hash/common.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/hash/common.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/hash/int_table.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/hash/str_table.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/atoi.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/atoi.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/round_trip.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/round_trip.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/strtod.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/strtod.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/unicode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/lex/unicode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mem/alloc.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mem/alloc.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mem/arena.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mem/arena.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mem/internal/arena.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/accessors.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/accessors.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/accessors_split64.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/array.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/array.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/compare.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/compare.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/compat.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/compat.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/copy.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/copy.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/accessors.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/array.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/compare_unknown.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/compare_unknown.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/extension.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/extension.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/iterator.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/iterator.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/map.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/map_entry.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/map_sorter.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/tagged_ptr.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/internal/types.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/map.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/map.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/map_gencode_util.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/map_sorter.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/merge.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/merge.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/promote.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/promote.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/tagged_ptr.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/message/value.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/build_enum.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/build_enum.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/decode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/decode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/base92.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/base92.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/decoder.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/encode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/encode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/modifiers.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/internal/wire_constants.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/link.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_descriptor/link.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/compat.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/compat.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/enum.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/extension.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/extension_registry.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/extension_registry.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/field.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/file.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/enum.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/extension.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/field.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/file.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/size_log2.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/internal/sub.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/mini_table/sub.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/port/atomic.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/port/def.inc +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/port/sanitizers.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/port/undef.inc +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/port/vsnprintf_compat.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/common.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/def_pool.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/def_pool.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/def_type.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/def_type.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/desc_state.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/descriptor_bootstrap.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_reserved_range.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_reserved_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_value_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/enum_value_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/extension_range.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/extension_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/field_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/field_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/file_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/file_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/def_builder.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/def_builder.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/def_pool.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/desc_state.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/enum_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/enum_reserved_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/enum_value_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/extension_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/field_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/file_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/message_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/message_reserved_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/method_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/oneof_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/service_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/strdup2.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/strdup2.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/internal/upb_edition_defaults.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message_reserved_range.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/message_reserved_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/method_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/method_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/oneof_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/oneof_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/service_def.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/reflection/service_def.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/debug_string.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/debug_string.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/encode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/encode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/internal/encode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/internal/encode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/text/options.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/util/def_to_proto.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/util/def_to_proto.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/util/required_fields.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/util/required_fields.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/byte_size.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/byte_size.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/decode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/decode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/encode.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/encode.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/eps_copy_input_stream.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/eps_copy_input_stream.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/internal/constants.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/internal/decoder.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/internal/decoder.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/internal/reader.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/reader.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/reader.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/types.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/upb/wire/writer.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/utf8_range/utf8_range.c +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/utf8_range/utf8_range.h +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/utf8_range/utf8_range_neon.inc +0 -0
- {protobuf-6.32.0 → protobuf-6.32.0rc2}/utf8_range/utf8_range_sse.inc +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/any.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/any.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/api.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/api.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/compiler/plugin.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/compiler/plugin.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/descriptor.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/descriptor.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/duration.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/duration.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/empty.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/empty.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/field_mask.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/field_mask.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -22,20 +22,16 @@ TYPE_TO_DESERIALIZE_METHOD: A dictionary with field types and deserialization
|
|
|
22
22
|
|
|
23
23
|
__author__ = 'robinson@google.com (Will Robinson)'
|
|
24
24
|
|
|
25
|
-
import numbers
|
|
26
25
|
import struct
|
|
27
|
-
import
|
|
26
|
+
import numbers
|
|
28
27
|
|
|
29
|
-
from google.protobuf import descriptor
|
|
30
28
|
from google.protobuf.internal import decoder
|
|
31
29
|
from google.protobuf.internal import encoder
|
|
32
30
|
from google.protobuf.internal import wire_format
|
|
31
|
+
from google.protobuf import descriptor
|
|
33
32
|
|
|
34
33
|
_FieldDescriptor = descriptor.FieldDescriptor
|
|
35
|
-
|
|
36
|
-
# Assign bool to int/enum warnings will print 100 times at most which should
|
|
37
|
-
# be enough for users to notice and do not cause timeout.
|
|
38
|
-
_BoolWarningCount = 100
|
|
34
|
+
|
|
39
35
|
|
|
40
36
|
def TruncateToFourByteFloat(original):
|
|
41
37
|
return struct.unpack('<f', struct.pack('<f', original))[0]
|
|
@@ -145,21 +141,6 @@ class IntValueChecker(object):
|
|
|
145
141
|
"""Checker used for integer fields. Performs type-check and range check."""
|
|
146
142
|
|
|
147
143
|
def CheckValue(self, proposed_value):
|
|
148
|
-
global _BoolWarningCount
|
|
149
|
-
if type(proposed_value) == bool and _BoolWarningCount > 0:
|
|
150
|
-
_BoolWarningCount -= 1
|
|
151
|
-
message = (
|
|
152
|
-
'%.1024r has type %s, but expected one of: %s. This warning '
|
|
153
|
-
'will turn into error in 7.34.0, please fix it before that.'
|
|
154
|
-
% (
|
|
155
|
-
proposed_value,
|
|
156
|
-
type(proposed_value),
|
|
157
|
-
(int,),
|
|
158
|
-
)
|
|
159
|
-
)
|
|
160
|
-
# TODO: Raise errors in 2026 Q1 release
|
|
161
|
-
warnings.warn(message)
|
|
162
|
-
|
|
163
144
|
if not hasattr(proposed_value, '__index__') or (
|
|
164
145
|
type(proposed_value).__module__ == 'numpy' and
|
|
165
146
|
type(proposed_value).__name__ == 'ndarray'):
|
|
@@ -186,20 +167,6 @@ class EnumValueChecker(object):
|
|
|
186
167
|
self._enum_type = enum_type
|
|
187
168
|
|
|
188
169
|
def CheckValue(self, proposed_value):
|
|
189
|
-
global _BoolWarningCount
|
|
190
|
-
if type(proposed_value) == bool and _BoolWarningCount > 0:
|
|
191
|
-
_BoolWarningCount -= 1
|
|
192
|
-
message = (
|
|
193
|
-
'%.1024r has type %s, but expected one of: %s. This warning '
|
|
194
|
-
'will turn into error in 7.34.0, please fix it before that.'
|
|
195
|
-
% (
|
|
196
|
-
proposed_value,
|
|
197
|
-
type(proposed_value),
|
|
198
|
-
(int,),
|
|
199
|
-
)
|
|
200
|
-
)
|
|
201
|
-
# TODO: Raise errors in 2026 Q1 release
|
|
202
|
-
warnings.warn(message)
|
|
203
170
|
if not isinstance(proposed_value, numbers.Integral):
|
|
204
171
|
message = ('%.1024r has type %s, but expected one of: %s' %
|
|
205
172
|
(proposed_value, type(proposed_value), (int,)))
|
|
@@ -26,7 +26,6 @@ import json
|
|
|
26
26
|
import math
|
|
27
27
|
from operator import methodcaller
|
|
28
28
|
import re
|
|
29
|
-
import warnings
|
|
30
29
|
|
|
31
30
|
from google.protobuf import descriptor
|
|
32
31
|
from google.protobuf import message_factory
|
|
@@ -192,11 +191,6 @@ class _Printer(object):
|
|
|
192
191
|
self.use_integers_for_enums = use_integers_for_enums
|
|
193
192
|
self.descriptor_pool = descriptor_pool
|
|
194
193
|
if float_precision:
|
|
195
|
-
warnings.warn(
|
|
196
|
-
'float_precision option is deprecated for json_format. '
|
|
197
|
-
'This will turn into error in 7.34.0, please remove it '
|
|
198
|
-
'before that.'
|
|
199
|
-
)
|
|
200
194
|
self.float_format = '.{}g'.format(float_precision)
|
|
201
195
|
else:
|
|
202
196
|
self.float_format = None
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/source_context.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/source_context.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/struct.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/struct.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -25,7 +25,6 @@ import encodings.unicode_escape # pylint: disable=unused-import
|
|
|
25
25
|
import io
|
|
26
26
|
import math
|
|
27
27
|
import re
|
|
28
|
-
import warnings
|
|
29
28
|
|
|
30
29
|
from google.protobuf.internal import decoder
|
|
31
30
|
from google.protobuf.internal import type_checkers
|
|
@@ -417,10 +416,6 @@ class _Printer(object):
|
|
|
417
416
|
self.use_index_order = use_index_order
|
|
418
417
|
self.float_format = float_format
|
|
419
418
|
if double_format is not None:
|
|
420
|
-
warnings.warn(
|
|
421
|
-
'double_format is deprecated for text_format. This will '
|
|
422
|
-
'turn into error in 7.34.0, please remove it before that.'
|
|
423
|
-
)
|
|
424
419
|
self.double_format = double_format
|
|
425
420
|
else:
|
|
426
421
|
self.double_format = float_format
|
|
@@ -657,11 +652,6 @@ class _Printer(object):
|
|
|
657
652
|
out.write('false')
|
|
658
653
|
elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_FLOAT:
|
|
659
654
|
if self.float_format is not None:
|
|
660
|
-
warnings.warn(
|
|
661
|
-
'float_format is deprecated for text_format. This '
|
|
662
|
-
'will turn into error in 7.34.0, please remove it '
|
|
663
|
-
'before that.'
|
|
664
|
-
)
|
|
665
655
|
out.write('{1:{0}}'.format(self.float_format, value))
|
|
666
656
|
else:
|
|
667
657
|
if math.isnan(value):
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/timestamp.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/timestamp.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/type.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/type.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: google/protobuf/wrappers.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.0
|
|
5
|
+
# Protobuf Python Version: 6.32.0-rc2
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -14,7 +14,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
16
|
0,
|
|
17
|
-
'',
|
|
17
|
+
'-rc2',
|
|
18
18
|
'google/protobuf/wrappers.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// https://developers.google.com/open-source/licenses/bsd
|
|
7
7
|
|
|
8
8
|
#include "python/convert.h"
|
|
9
|
+
|
|
9
10
|
#include "python/message.h"
|
|
10
11
|
#include "python/protobuf.h"
|
|
11
12
|
#include "upb/message/compare.h"
|
|
@@ -61,22 +62,7 @@ PyObject* PyUpb_UpbToPy(upb_MessageValue val, const upb_FieldDef* f,
|
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
static void WarnBool(const upb_FieldDef* f) {
|
|
66
|
-
static int bool_warning_count = 100;
|
|
67
|
-
if (bool_warning_count > 0) {
|
|
68
|
-
--bool_warning_count;
|
|
69
|
-
PyErr_WarnFormat(PyExc_DeprecationWarning, 3,
|
|
70
|
-
"Field %s: Expected an int, got a boolean. This "
|
|
71
|
-
"will be rejected in 7.34.0, please fix it before that",
|
|
72
|
-
upb_FieldDef_FullName(f));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
static bool PyUpb_GetInt64(PyObject* obj, const upb_FieldDef* f, int64_t* val) {
|
|
77
|
-
if (PyBool_Check(obj)) {
|
|
78
|
-
WarnBool(f);
|
|
79
|
-
}
|
|
65
|
+
static bool PyUpb_GetInt64(PyObject* obj, int64_t* val) {
|
|
80
66
|
// We require that the value is either an integer or has an __index__
|
|
81
67
|
// conversion.
|
|
82
68
|
obj = PyNumber_Index(obj);
|
|
@@ -95,11 +81,7 @@ static bool PyUpb_GetInt64(PyObject* obj, const upb_FieldDef* f, int64_t* val) {
|
|
|
95
81
|
return ok;
|
|
96
82
|
}
|
|
97
83
|
|
|
98
|
-
static bool PyUpb_GetUint64(PyObject* obj,
|
|
99
|
-
uint64_t* val) {
|
|
100
|
-
if (PyBool_Check(obj)) {
|
|
101
|
-
WarnBool(f);
|
|
102
|
-
}
|
|
84
|
+
static bool PyUpb_GetUint64(PyObject* obj, uint64_t* val) {
|
|
103
85
|
// We require that the value is either an integer or has an __index__
|
|
104
86
|
// conversion.
|
|
105
87
|
obj = PyNumber_Index(obj);
|
|
@@ -116,9 +98,9 @@ static bool PyUpb_GetUint64(PyObject* obj, const upb_FieldDef* f,
|
|
|
116
98
|
return ok;
|
|
117
99
|
}
|
|
118
100
|
|
|
119
|
-
static bool PyUpb_GetInt32(PyObject* obj,
|
|
101
|
+
static bool PyUpb_GetInt32(PyObject* obj, int32_t* val) {
|
|
120
102
|
int64_t i64;
|
|
121
|
-
if (!PyUpb_GetInt64(obj,
|
|
103
|
+
if (!PyUpb_GetInt64(obj, &i64)) return false;
|
|
122
104
|
if (i64 < INT32_MIN || i64 > INT32_MAX) {
|
|
123
105
|
PyErr_Format(PyExc_ValueError, "Value out of range: %S", obj);
|
|
124
106
|
return false;
|
|
@@ -127,10 +109,9 @@ static bool PyUpb_GetInt32(PyObject* obj, const upb_FieldDef* f, int32_t* val) {
|
|
|
127
109
|
return true;
|
|
128
110
|
}
|
|
129
111
|
|
|
130
|
-
static bool PyUpb_GetUint32(PyObject* obj,
|
|
131
|
-
uint32_t* val) {
|
|
112
|
+
static bool PyUpb_GetUint32(PyObject* obj, uint32_t* val) {
|
|
132
113
|
uint64_t u64;
|
|
133
|
-
if (!PyUpb_GetUint64(obj,
|
|
114
|
+
if (!PyUpb_GetUint64(obj, &u64)) return false;
|
|
134
115
|
if (u64 > UINT32_MAX) {
|
|
135
116
|
PyErr_Format(PyExc_ValueError, "Value out of range: %S", obj);
|
|
136
117
|
return false;
|
|
@@ -183,9 +164,8 @@ const char* upb_FieldDef_TypeString(const upb_FieldDef* f) {
|
|
|
183
164
|
UPB_UNREACHABLE();
|
|
184
165
|
}
|
|
185
166
|
|
|
186
|
-
static bool PyUpb_PyToUpbEnum(PyObject* obj, const
|
|
167
|
+
static bool PyUpb_PyToUpbEnum(PyObject* obj, const upb_EnumDef* e,
|
|
187
168
|
upb_MessageValue* val) {
|
|
188
|
-
const upb_EnumDef* e = upb_FieldDef_EnumSubDef(f);
|
|
189
169
|
if (PyUnicode_Check(obj)) {
|
|
190
170
|
Py_ssize_t size;
|
|
191
171
|
const char* name = PyUnicode_AsUTF8AndSize(obj, &size);
|
|
@@ -198,11 +178,8 @@ static bool PyUpb_PyToUpbEnum(PyObject* obj, const upb_FieldDef* f,
|
|
|
198
178
|
val->int32_val = upb_EnumValueDef_Number(ev);
|
|
199
179
|
return true;
|
|
200
180
|
} else {
|
|
201
|
-
if (PyBool_Check(obj)) {
|
|
202
|
-
WarnBool(f);
|
|
203
|
-
}
|
|
204
181
|
int32_t i32;
|
|
205
|
-
if (!PyUpb_GetInt32(obj,
|
|
182
|
+
if (!PyUpb_GetInt32(obj, &i32)) return false;
|
|
206
183
|
if (upb_EnumDef_IsClosed(e) && !upb_EnumDef_CheckNumber(e, i32)) {
|
|
207
184
|
PyErr_Format(PyExc_ValueError, "invalid enumerator %d", (int)i32);
|
|
208
185
|
return false;
|
|
@@ -261,15 +238,15 @@ bool PyUpb_PyToUpb(PyObject* obj, const upb_FieldDef* f, upb_MessageValue* val,
|
|
|
261
238
|
upb_Arena* arena) {
|
|
262
239
|
switch (upb_FieldDef_CType(f)) {
|
|
263
240
|
case kUpb_CType_Enum:
|
|
264
|
-
return PyUpb_PyToUpbEnum(obj, f, val);
|
|
241
|
+
return PyUpb_PyToUpbEnum(obj, upb_FieldDef_EnumSubDef(f), val);
|
|
265
242
|
case kUpb_CType_Int32:
|
|
266
|
-
return PyUpb_GetInt32(obj,
|
|
243
|
+
return PyUpb_GetInt32(obj, &val->int32_val);
|
|
267
244
|
case kUpb_CType_Int64:
|
|
268
|
-
return PyUpb_GetInt64(obj,
|
|
245
|
+
return PyUpb_GetInt64(obj, &val->int64_val);
|
|
269
246
|
case kUpb_CType_UInt32:
|
|
270
|
-
return PyUpb_GetUint32(obj,
|
|
247
|
+
return PyUpb_GetUint32(obj, &val->uint32_val);
|
|
271
248
|
case kUpb_CType_UInt64:
|
|
272
|
-
return PyUpb_GetUint64(obj,
|
|
249
|
+
return PyUpb_GetUint64(obj, &val->uint64_val);
|
|
273
250
|
case kUpb_CType_Float:
|
|
274
251
|
if (!PyFloat_Check(obj) && PyUpb_IsNumpyNdarray(obj, f)) return false;
|
|
275
252
|
val->float_val = PyFloat_AsDouble(obj);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|