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 theme
Recipients docs@python, terry.reedy, theme
Date 2014-05-24.04:44:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400906665.92.0.845782684644.issue21559@psf.upfronthosting.co.za>
In-reply-to
Content
This is a (non-comprehensive) list of issues that describe or imply that OverflowError on integers is normal.

- http://bugs.python.org/issue7267 "Attached patch works around the inital issue (u'{0:c}'.format(256)) by raising OverflowError on int.__format__('c') if the value is not in range(0, 256)."
- http://bugs.python.org/issue20539 "Patch applied to the default branch (but with OverflowError instead of ValueError for large positive inputs)."
- http://bugs.python.org/issue21444 "CPython has historically imposed some artificial implementation specific details in order make the implementation cleaner and faster internally (i.e. a limit on the number of function arguments, sys.maxsize limits, etc.)"
- http://bugs.python.org/issue15988 (No message explicitly telling that OverflowError is the right error to raise. However, it is implied that only the error message, not the error type, should be changed)

There might be other similar issues out there.
Am I opening a can of worms?
History
Date User Action Args
2014-05-24 04:44:26themesetrecipients: + theme, terry.reedy, docs@python
2014-05-24 04:44:25themesetmessageid: <1400906665.92.0.845782684644.issue21559@psf.upfronthosting.co.za>
2014-05-24 04:44:25themelinkissue21559 messages
2014-05-24 04:44:24themecreate