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 mark.dickinson
Recipients benjamin.peterson, mark.dickinson
Date 2010-07-07.10:10:28
SpamBayes Score 6.255695e-08
Marked as misclassified No
Message-id <1278497432.77.0.860958326747.issue9186@psf.upfronthosting.co.za>
In-reply-to
Content
>>> from math import log1p
>>> log1p(-1.0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error

This should be a ValueError instead.

(Thanks Benjamin for noticing this.)
History
Date User Action Args
2010-07-07 10:10:33mark.dickinsonsetrecipients: + mark.dickinson, benjamin.peterson
2010-07-07 10:10:32mark.dickinsonsetmessageid: <1278497432.77.0.860958326747.issue9186@psf.upfronthosting.co.za>
2010-07-07 10:10:30mark.dickinsonlinkissue9186 messages
2010-07-07 10:10:30mark.dickinsoncreate