Message100703
| Author |
flox |
| Recipients |
eric.araujo, ezio.melotti, flox, gregory.p.smith, michael.foord |
| Date |
2010年03月09日.07:18:12 |
| SpamBayes Score |
2.2269928e-06 |
| Marked as misclassified |
No |
| Message-id |
<1268119093.56.0.791670611394.issue7832@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Some real use case for the fixed behavior:
- the patch for #7092 has a workaround to fix the comparison locally,
both in test_decimal and test_set
- test_cgi was changed, before noticing that SameElements has a flaw:
http://svn.python.org/view/python/trunk/Lib/test/test_cgi.py?r1=77871&r2=77870
But there's many snippets in the test suite which look like:
expected.sort()
actual.sort()
self.assertEqual(expected, actual)
Since sorting heterogeneous sequence is no longer supported in 3.x, it is painful to workaround this in each test case. |
|