import gobject

class Something(gobject.GObject):
    __gproperties__ = {
        'something': (gobject.TYPE_UINT64, 'something', 'something', 0, 2**63, 0,
		      gobject.PARAM_WRITABLE),
    }
    
    def do_set_property(self, pspec, value):
	print "expected %s, actual %s" % (2**63, pspec.maximum)

s = Something()
s.set_property('something', 2)
