[issue12434] Strengthen 2.7 io types warning

Eli Bendersky report at bugs.python.org
Tue Jul 19 05:53:48 CEST 2011


Eli Bendersky <eliben at gmail.com> added the comment:

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

Terry, what are your thoughts?
Can I commit the fix?

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

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12434>
_______________________________________
-------------- next part --------------
<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
&gt; Therefore, I propose to change this error message to:<br>
&gt;  &quot;unicode argument expected, got &#39;%s&#39;&quot;<br>
&gt;  as Terry suggested.<br>
&gt;<br>
<br>
</div>Sounds good to me.<br></blockquote><div><br>Terry, what are your thoughts?<br>Can I commit the fix?<br> <br></div></div><br></div>


More information about the Python-bugs-list mailing list