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 facundobatista, mark.dickinson, rhettinger, serhiy.storchaka, skrah
Date 2016-05-08.15:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462722406.01.0.980363729312.issue26974@psf.upfronthosting.co.za>
In-reply-to
Content
Here are two alternative patches that fix the crash.

The first patch adds checks for as_integer_ratio() result. The only disadvantage is that error messages are quite arbitrary and differ from error messages in Python version.
History
Date User Action Args
2016-05-08 15:46:46serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, facundobatista, mark.dickinson, skrah
2016-05-08 15:46:46serhiy.storchakasetmessageid: <1462722406.01.0.980363729312.issue26974@psf.upfronthosting.co.za>
2016-05-08 15:46:45serhiy.storchakalinkissue26974 messages
2016-05-08 15:46:45serhiy.storchakacreate