I hope it is OK that I modified one test in sage.rings.polynomial.polynomial_ring, by the new patch trac9944_addendum.patch.
That test used to be
sage: QQ['y'] < QQ['x']
False
sage: QQ['y'] < QQ['z']
True
But that is unsafe, because this ticket removes the custom __cmp__
method of polynomial rings. So, the comparison relies on virtually random data such as id(QQ['x'])
, if I am not mistaken.
Therefore, it seems safer to me to replace it by
sage: QQ['y'] != QQ['x']
True
sage: QQ['y'] != QQ['z']
True