[Python-checkins] [python/cpython] 769d77: allow the first call to wcsxfrm to return ERANGE

GitHub noreply at github.com
Tue Mar 7 01:21:54 EST 2017


  Branch: refs/heads/benjamin-wcsxfrm-error
  Home:   https://github.com/python/cpython
  Commit: 769d7770908ed4ced147dbe099d5ed78d46696dc
      https://github.com/python/cpython/commit/769d7770908ed4ced147dbe099d5ed78d46696dc
  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