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 mdonolo
Recipients mdonolo, tim.peters
Date 2009-12-17.19:27:46
SpamBayes Score 2.9793821e-07
Marked as misclassified No
Message-id <1261078067.84.0.65935543936.issue7536@psf.upfronthosting.co.za>
In-reply-to
Content
The ** operator produces an error when it gets inf as an argument.
if I try.
>>>a=float('inf')
>>>a*a 
inf
-but if I try 
>>>a**2 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: (34, 'Result too large')
I should get inf too.
History
Date User Action Args
2009-12-17 19:27:47mdonolosetrecipients: + mdonolo, tim.peters
2009-12-17 19:27:47mdonolosetmessageid: <1261078067.84.0.65935543936.issue7536@psf.upfronthosting.co.za>
2009-12-17 19:27:46mdonololinkissue7536 messages
2009-12-17 19:27:46mdonolocreate