Message146172
| Author |
mark.dickinson |
| Recipients |
ezio.melotti, mark.dickinson, smarnach, vstinner |
| Date |
2011年10月22日.15:38:34 |
| SpamBayes Score |
7.9807e-08 |
| Marked as misclassified |
No |
| Message-id |
<1319297917.24.0.20331859969.issue13201@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've taken the liberty of updating the patch, with a few minor changes:
range_equality -> range_equals (like range_contains)
move identity check into range_equals
move comments before the code they describe (PEP7)
add whatsnew entry
remove check that range.__hash__ matches object.__hash__ in test_hash
change assertEqual into assertIs where appropriate (as suggested by Ezio)
additional comments and tests in Lib/test/test_range (ditto)
Sven, Ezio: okay to apply this? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年10月22日 15:38:37 | mark.dickinson | set | recipients:
+ mark.dickinson, vstinner, ezio.melotti, smarnach |
| 2011年10月22日 15:38:37 | mark.dickinson | set | messageid: <1319297917.24.0.20331859969.issue13201@psf.upfronthosting.co.za> |
| 2011年10月22日 15:38:36 | mark.dickinson | link | issue13201 messages |
| 2011年10月22日 15:38:36 | mark.dickinson | create |
|