A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-June/127030.html below:

[Python-Dev] A type of out-of-range exception for %c

[Python-Dev] A type of out-of-range exception for %c [Python-Dev] A type of out-of-range exception for %cŁukasz Langa lukasz at langa.pl
Sun Jun 23 23:27:27 CEST 2013
On 23 cze 2013, at 21:07, Antoine Pitrou <solipsis at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130623/e74f04b5/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4