]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
allow the first call to wcsxfrm to return ERANGE (#536)
authorBenjamin Peterson <benjamin@python.org>
Wed, 8 Mar 2017 06:24:44 +0000 (22:24 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2017 06:24:44 +0000 (22:24 -0800)
commitad4a0cc519a5bb14204324e0e32e976318f9e6ce
tree2e07df2d2beaae9d84b48e5c9bf9a61de11009eb
parent02371e0ed1ee82ec73e7d363bcf2ed40cde1397a
allow the first call to wcsxfrm to return ERANGE (#536)

If the output buffer provided to wcsxfrm is too small, errno is set to ERANGE. We should not error out in that case.
Modules/_localemodule.c