commit | a32f8fe7133aad4f3cf8946534e3b79a5f2659da | [log] [tgz] |
---|---|---|
author | Saiyang Gou <gousaiyang@163.com> | Wed Apr 21 15:42:55 2021 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 21 23:42:55 2021 +0100 |
tree | 928495171f025cb05975d53ea1621df05ade92b0 | |
parent | 7b86e47617d81a4b14d929743425f448971e8c86 [diff] [blame] |
bpo-43756: Add new audit event for new arguments added to glob.glob (GH-25239)
diff --git a/Lib/glob.py b/Lib/glob.py index a491363..a6cff87 100644 --- a/Lib/glob.py +++ b/Lib/glob.py
@@ -34,6 +34,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False): zero or more directories and subdirectories. """ sys.audit("glob.glob", pathname, recursive) + sys.audit("glob.glob/2", pathname, recursive, root_dir, dir_fd) if root_dir is not None: root_dir = os.fspath(root_dir) else: