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.htm
l#enum
mentions that "A future version of the library may explicitly disallow this."
Original issue reported on code.google.com by ivan.kozik@gmail.com on 19 Jul 2010 at 9:33
Original issue reported on code.google.com by
ivan.kozik@gmail.com
on 19 Jul 2010 at 9:33