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, python-dev, rhettinger, serhiy.storchaka, skrah, vstinner, xiang.zhang
Date 2017-01-09.08:21:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483950077.65.0.887968476343.issue29190@psf.upfronthosting.co.za>
In-reply-to
Content
In the particular case of getround() in _decimal.c, seems the worst case is raising TypeError instead of MemoryError in pretty rare circumstances. This is not critically bad, there are a lot of other places where the initial exception is silently replaced by less specific exception. But the code *looks* fragile.
History
Date User Action Args
2017-01-09 08:21:17serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, facundobatista, mark.dickinson, vstinner, skrah, python-dev, xiang.zhang
2017-01-09 08:21:17serhiy.storchakasetmessageid: <1483950077.65.0.887968476343.issue29190@psf.upfronthosting.co.za>
2017-01-09 08:21:17serhiy.storchakalinkissue29190 messages
2017-01-09 08:21:17serhiy.storchakacreate