This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:37mark.dickinsonsetrecipients: + mark.dickinson, vstinner, ezio.melotti, smarnach
2011-10-22 15:38:37mark.dickinsonsetmessageid: <1319297917.24.0.20331859969.issue13201@psf.upfronthosting.co.za>
2011-10-22 15:38:36mark.dickinsonlinkissue13201 messages
2011-10-22 15:38:36mark.dickinsoncreate