This might be of general interest. For example P = Poset() type(P.height()), type(P.width())
outputs (<type 'int'>, <type 'sage.rings.integer.Integer'>). For cardinality() this is clear after http://trac.sagemath.org/ticket/18159 , but is this a general rule for other integer-valued functions too?
(For comments for only this specific example please use http://trac.sagemath.org/ticket/18959 )
-- Jori Mäntysalo