[Python-checkins] [python/cpython] 274dcb: allow the first call to wcsxfrm to return ERANGE
GitHub
noreply at github.com
Wed Mar 8 01:00:19 EST 2017
Branch: refs/heads/benjamin-wcsxfrm-error
Home: https://github.com/python/cpython
Commit: 274dcbcbd978aa3f6d419c82cf2a62aaa263d798
https://github.com/python/cpython/commit/274dcbcbd978aa3f6d419c82cf2a62aaa263d798
Author: Benjamin Peterson <benjamin at python.org>
Date: 2017-03-07 (Tue, 07 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