mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
We previously had a hack in Python/C++ Protobuf to account for the fact that LazyField did not properly remember a custom DescriptorPool or MessageFactory that was set in the ParseContext at parse time. The code has since been fixed to properly handle the case where ParseContext contains a custom DescriptorPool/MessageFactory. Removing the hack removes the data race under free threading. PiperOrigin-RevId: 967236272 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cpp_message.py | ||
| descriptor.cc | ||
| descriptor.h | ||
| descriptor_containers.cc | ||
| descriptor_containers.h | ||
| descriptor_database.cc | ||
| descriptor_database.h | ||
| descriptor_pool.cc | ||
| descriptor_pool.h | ||
| extension_dict.cc | ||
| extension_dict.h | ||
| field.cc | ||
| field.h | ||
| free_threading_mutex.h | ||
| lazy_unique_ptr.h | ||
| map_container.cc | ||
| map_container.h | ||
| message.cc | ||
| message.h | ||
| message_factory.cc | ||
| message_factory.h | ||
| message_module.cc | ||
| python.proto | ||
| README | ||
| repeated_composite_container.cc | ||
| repeated_composite_container.h | ||
| repeated_scalar_container.cc | ||
| repeated_scalar_container.h | ||
| safe_numerics.h | ||
| scoped_pyobject_ptr.h | ||
| unknown_field_set.cc | ||
| unknown_field_set.h | ||
| weak_value_map.cc | ||
| weak_value_map.h | ||
This is the 'v2' C++ implementation for python proto2. It is active when: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2