Message243356
| Author |
serhiy.storchaka |
| Recipients |
Arfrever, Tim.Graham, ezio.melotti, magnusc, michael.foord, python-dev, r.david.murray, rbcollins, rhettinger, serhiy.storchaka, steven.daprano |
| Date |
2015年05月16日.18:56:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1431802618.67.0.767363777549.issue24134@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|