id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
16397,Symbolic cmp,vbraun,,"In the symbolic ring, cmp implements the print comparison which is probably not what you envisioned:
{{{
sage: cmp(1, sqrt(2)) # mathematically correct, uses rich comparison
-1
sage: cmp(SR(1), sqrt(2)) # unexpectedly, you get the print sort order
1
}}}
Everybody who coerces to same parents internally before comparing trips over this, for example the real lazy field:
{{{
sage: RLF(1) < RLF(sqrt(2))
False
}}}
",defect,new,major,sage-6.3,symbolics,,,,,,,N/A,,,,,