On 23 cze 2013, at 21:07, Antoine Pitrou <solip...@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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to