The python implementation is effectively all built around DynamicMessage.
The GeneratedProtocolMessageType in reflection.py metaclass allows you to
define message classes from descriptors. The problem is that it's difficult
to convert *DescriptorProtos to the Descriptor objects that you need.
There's been some work internally to address that.

On Mon, Aug 22, 2011 at 1:46 PM, Jamie McCrindle
<[email protected]>wrote:

> Hi,
>
> We've been writing out 'self-describing' binary logs using protocol
> buffers by adding a serialised file descriptor set and descriptor in
> the header of binary logs. We can then read out the logs using Java's
> DynamicMessage. One of our partners uses python. Is there a python
> equivalent of DynamicMessage?
>
> regards,
> Jamie.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to