summaryrefslogtreecommitdiff
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2021-08-06 15:35:11 +0200
committerGitHub <noreply@github.com>2021-08-06 15:35:11 +0200
commit693a661478036dc2c5b48e138dd09320a972c25a (patch)
treec7b2be448e0af106bbc22f38bcd91bbc244cdc2f /Python/fileutils.c
parent7dad0337518a0d599caf8f803a5bf45db67cbe9b (diff)
downloadcpython-git-693a661478036dc2c5b48e138dd09320a972c25a.tar.gz
[3.9] bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) (GH-27629)
* When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR * This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 15d3c14df32a35ac69898a7852115722e30d7857) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions