Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 206 by [email protected]: Python: possible to set invalid enum value
http://code.google.com/p/protobuf/issues/detail?id=206

It's currently possible to set an enum field to an invalid value. I think it should throw ValueError instead.

https://code.google.com/apis/protocolbuffers/docs/reference/python-generated.html#enum
mentions that "A future version of the library may explicitly disallow this."

--
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