On Tue, Sep 7, 2010 at 08:19, Nick Coghlan <[email protected]> wrote:

> On Tue, Sep 7, 2010 at 11:05 PM, Brian Curtin <[email protected]>
> wrote:
> > Sure, seems reasonable to me.
> > Does """raise ValueError("Unsupported signal: {}".format(sig))""" look
> fine,
> > or is there a more preferred format when displaying bad values in
> exception
> > messages?
>
> No, that's about what I was thinking as well. When all we have is an
> error code (or similar number), it's difficult to make the associated
> error message particularly pretty.
>
> Cheers,
> Nick.


Made the adjustment in r84582 (py3k) and r84583 (release27-maint). Thanks
for the suggestion.
_______________________________________________
Python-Dev mailing list
[email protected]
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