[issue18184] Add range check for %c in PyUnicode_FromFormat

Serhiy Storchaka report at bugs.python.org
Sun Jun 23 20:35:55 CEST 2013


Serhiy Storchaka added the comment:

I agree, a ValueError may be better than OverflowError, but all other formattings raise OverflowError, and we should support them consistent.

----------
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18184>
_______________________________________


More information about the Python-bugs-list mailing list