aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@users.noreply.github.com>2024-11-22 06:55:32 -0800
committerGitHub <noreply@github.com>2024-11-22 15:55:32 +0100
commit46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a (patch)
treee1bce0ce52eebcb27f91431597ae7f7bf7b37867 /Lib/argparse.py
parent0a1944cda8504ba0478a51075eba540576570336 (diff)
downloadcpython-46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a.tar.gz
cpython-46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a.zip
gh-127076: Ignore memory mmap in FileIO testing (#127088)
`mmap`, `munmap`, and `mprotect` are used by CPython for memory management, which may occur in the middle of the FileIO tests. The system calls can also be used with files, so `strace` includes them in its `%file` and `%desc` filters. Filter out the `mmap` system calls related to memory allocation for the file tests. Currently FileIO doesn't do `mmap` at all, so didn't add code to track from `mmap` through `munmap` since it wouldn't be used. For now if an `mmap` on a fd happens, the call will be included (which may cause test to fail), and at that time support for tracking the address throug `munmap` could be added.
Diffstat (limited to 'Lib/argparse.py')
0 files changed, 0 insertions, 0 deletions