[issue12434] Strengthen 2.7 io types warning

Daniel Stutzbach report at bugs.python.org
Mon Jul 18 18:52:59 CEST 2011


Daniel Stutzbach <stutzbach at google.com> added the comment:

On Sat, Jul 16, 2011 at 2:04 AM, Eli Bendersky <report at bugs.python.org>wrote:

> Therefore, I propose to change this error message to:
>  "unicode argument expected, got '%s'"
>  as Terry suggested.
>

Sounds good to me.

----------
Added file: http://bugs.python.org/file22687/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12434>
_______________________________________
-------------- next part --------------
<div class="gmail_quote">On Sat, Jul 16, 2011 at 2:04 AM, Eli Bendersky <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Therefore, I propose to change this error message to:<br>
 &quot;unicode argument expected, got &#39;%s&#39;&quot;<br>
 as Terry suggested.<br></blockquote><div><br></div><div>Sounds good to me. </div></div><br>-- <br>Daniel Stutzbach<br>


More information about the Python-bugs-list mailing list