Message243356
Interesting, the last patch exposed a flaw in test_slice.
def test_hash(self):
# Verify clearing of SF bug #800796
self.assertRaises(TypeError, hash, slice(5))
self.assertRaises(TypeError, slice(5).__hash__)
But the second self.assertRaises() doesn't call __hash__. It is successful by accident, because slice(5).__hash__ is None. |
|
Date |
User |
Action |
Args |
2015-05-16 18:56:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, rbcollins, ezio.melotti, Arfrever, steven.daprano, r.david.murray, michael.foord, python-dev, Tim.Graham, magnusc |
2015-05-16 18:56:58 | serhiy.storchaka | set | messageid: <1431802618.67.0.767363777549.issue24134@psf.upfronthosting.co.za> |
2015-05-16 18:56:58 | serhiy.storchaka | link | issue24134 messages |
2015-05-16 18:56:58 | serhiy.storchaka | create | |
|