Message146172
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? |
|
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 | |
|