[Python-checkins] [python/cpython] 7f5563: allow the first call to wcsxfrm to return ERANGE
GitHub
noreply at github.com
Tue Mar 7 02:04:49 EST 2017
Branch: refs/heads/benjamin-wcsxfrm-error
Home: https://github.com/python/cpython
Commit: 7f55635e77c8ccd74e1917b6824ce917baa214fc
https://github.com/python/cpython/commit/7f55635e77c8ccd74e1917b6824ce917baa214fc
Author: Benjamin Peterson <benjamin at python.org>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M Modules/_localemodule.c
Log Message:
-----------
allow the first call to wcsxfrm to return ERANGE
If the output buffer provided to wcsxfrm is too small, errno is set to ERANGE. We should not error out in that case.
More information about the Python-checkins
mailing list