[Python-checkins] [python/cpython] ad4a0c: allow the first call to wcsxfrm to return ERANGE (...

GitHub noreply at github.com
Wed Mar 8 01:24:46 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: ad4a0cc519a5bb14204324e0e32e976318f9e6ce
      https://github.com/python/cpython/commit/ad4a0cc519a5bb14204324e0e32e976318f9e6ce
  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 (#536)

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