Status: New
Labels: Type-Defect Priority-Medium

New issue 228 by Python reading text_format misses empty extension field

What steps will reproduce the problem?
1. Extend a message A with an empty extension message E (see
2. Write A as protobuf in text format, A having the extension set.
3. Read the buffer written in (2) using google.protobuf.text_format in python

What is the expected output? What do you see instead?

The message A should contain the empty extension. But the extension is missing. Worked around by adding "sub_message.SetInParent" in line 208.

What version of the product are you using? On what operating system?

protobuf-2.3.0 linux/python.

Please provide any additional information below.

python, extension, empty

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to