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 agthorr
Recipients
Date 2007年05月15日.19:25:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I just noticed that my last suggestion makes test_tuple fail because tuple's don't support __imul__. Here's a revised suggestion:
 def test_bigrepeat(self):
 x = self.type2test([0])
 x *= 2**16
 self.assertRaises(MemoryError, x.__mul__, 2**16)
 if hasattr(x, '__imul__'):
 self.assertRaises(MemoryError, x.__imul__, 2**16)
History
Date User Action Args
2007年08月23日 15:58:11adminlinkissue1704621 messages
2007年08月23日 15:58:11admincreate

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