Status: New
Labels: Type-Defect Priority-Medium

New issue 346 by Python: expecting 0L, but the default value of uint64 field is 0

What steps will reproduce the problem?
1. Define a proto with uint64 field:
    optional uint64 ExpireTime = 11;
2. Create python object of this proto. But don't set value to ExpireTime
3. time = protoObj.ExpireTime

What is the expected output? What do you see instead?
time should be 0L but acctually is 0

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

Please provide any additional information below.

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