On 23 cze 2013, at 21:07, Antoine Pitrou <solipsis@pitrou.net> wrote:

The most annoying thing here is that OverflowError doesn't subclass
ValueError.

My intuition would rather make OverflowError subclass RuntimeError. Am I wrong?

That means I support Serhiy's point that %c would be less surprising raising a ValueError. Backwards compatibility is an unfortunate blocker here, I suppose.

-- 
Best regards,
Ɓukasz Langa

WWW: http://lukasz.langa.pl/
Twitter: @llanga
IRC: ambv on #python-dev