homepage

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 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:58serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, rbcollins, ezio.melotti, Arfrever, steven.daprano, r.david.murray, michael.foord, python-dev, Tim.Graham, magnusc
2015年05月16日 18:56:58serhiy.storchakasetmessageid: <1431802618.67.0.767363777549.issue24134@psf.upfronthosting.co.za>
2015年05月16日 18:56:58serhiy.storchakalinkissue24134 messages
2015年05月16日 18:56:58serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /