[issue12946] PyModule_GetDict() claims it can never fail, but it can

2014-09-25 Thread theme
Changes by theme theemat...@gmail.com: -- versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12946 ___ ___ Python

[issue21559] OverflowError should not happen for integer operations

2014-05-24 Thread theme
theme added the comment: skrah: I am not sure what link are you referring to. However, no matter which link you are talking about, the documentation still doesn't match the behavior no matter how you interpret it. Some possible interpretations of the documentation on OverflowError

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
New submission from theme: From the documentation at https://docs.python.org/3.4/library/exceptions.html#OverflowError all integer operations should not throw OverflowError no matter what. However, there are so many issues here that describe library functions and built-in functions doing

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
Changes by theme theemat...@gmail.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21559 ___ ___ Python-bugs-list

[issue21559] OverflowError should not happen for integer operations

2014-05-23 Thread theme
theme added the comment: 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