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/2016-October/146722.html below:

[Python-Dev] [Python-checkins] cpython (3.5): remove extra PyErr_Format arguments (closes #28454)

[Python-Dev] [Python-checkins] cpython (3.5): remove extra PyErr_Format arguments (closes #28454)Jeremy Kloth jeremy.kloth at gmail.com
Mon Oct 17 05:43:00 EDT 2016
On Sun, Oct 16, 2016 at 4:42 PM, benjamin.peterson
<python-checkins at python.org> wrote:
> --- a/Objects/unicodeobject.c
> +++ b/Objects/unicodeobject.c
> @@ -3009,7 +3009,7 @@
>                       "'%.400s' decoder returned '%.400s' instead of 'str'; "
>                       "use codecs.decode() to decode to arbitrary types",
>                       encoding,
> -                     Py_TYPE(unicode)->tp_name, Py_TYPE(unicode)->tp_name);
> +                     Py_TYPE(unicode)->tp_name);
>          Py_DECREF(unicode);
>          goto onError;
>      }

Um, isn't that now an error?  There are 2 format sequences, but only 1 argument.

-- 
Jeremy Kloth
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