[Python-checkins] r78437 - python/branches/py3k/Objects/exceptions.c
Eric Smith
eric at trueblade.com
Thu Feb 25 11:07:17 CET 2010
Bad merge. Thanks!
benjamin.peterson wrote:
> Author: benjamin.peterson
> Date: Thu Feb 25 02:22:28 2010
> New Revision: 78437
>
> Log:
> plug reference leak
>
> Modified:
> python/branches/py3k/Objects/exceptions.c
>
> Modified: python/branches/py3k/Objects/exceptions.c
> ==============================================================================
> --- python/branches/py3k/Objects/exceptions.c (original)
> +++ python/branches/py3k/Objects/exceptions.c Thu Feb 25 02:22:28 2010
> @@ -1668,7 +1668,7 @@
> fmt = "can't translate character '\\u%04x' in position %zd: %U";
> else
> fmt = "can't translate character '\\U%08x' in position %zd: %U";
> - return PyUnicode_FromFormat(
> + result = PyUnicode_FromFormat(
> fmt,
> badchar,
> uself->start,
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
More information about the Python-checkins
mailing list