What version of protobuf and what language are you using?
Version: v3.6.1
Language: Python
What operating system (Linux, Windows, ...) and version?
MacOS High Sierra
What runtime / compiler are you using (e.g., python version or gcc version)
python 3.6.5
What did you do?
Steps to reproduce the behavior:
from google.protobuf import field_mask_pb2
fm1 = field_mask_pb2.FieldMask(paths=['a'])
fm2 = field_mask_pb2.FieldMask(paths=['b'])
fm_int = field_mask_pb2.FieldMask()
fm_int.Intersect(fm1, fm2)
fm_int.paths
['']
What did you expect to see
fm_int.paths == []
What did you see instead?
fm_int.paths == ['']
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
What version of protobuf and what language are you using? Version: v3.6.1 Language: Python
What operating system (Linux, Windows, ...) and version? MacOS High Sierra
What runtime / compiler are you using (e.g., python version or gcc version) python 3.6.5
What did you do? Steps to reproduce the behavior: from google.protobuf import field_mask_pb2 fm1 = field_mask_pb2.FieldMask(paths=['a']) fm2 = field_mask_pb2.FieldMask(paths=['b']) fm_int = field_mask_pb2.FieldMask() fm_int.Intersect(fm1, fm2)
What did you expect to see fm_int.paths == [] What did you see instead? fm_int.paths == ['']
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).