Labels: Type-Defect Priority-Medium
New issue 228 by palotai....@gmail.com: 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
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
text_format.py line 208.
What version of the product are you using? On what operating system?
Please provide any additional information below.
python, extension, empty
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at