GNOME Bugzilla – Bug 688949
[PATCH] Wrong ranges for TYPE_INT64 and TYPE_UINT64.
Last modified: 2012-11-26 06:15:10 UTC
In corner case where people are using values 2 ** 62 < ±x < 2 ** 63 for TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will get warnings even tough values are valid.
Created attachment 229738 [details] [review] Fixes an issue
Thanks for catching this! It's almost right, the minimum int64 is 2**63, not 2**63 - 1. I updated the test cases as well, as the range check was also broken there: http://git.gnome.org/browse/pygobject/commit/?id=d16604f64d25d18409270d7537fc993113b65c19 I also cherry-picked this onto the stable 3.4 branch.