From: Serhiy Storchaka Date: Tue, 20 Oct 2020 16:45:38 +0000 (+0300) Subject: bpo-38144: Re-add accidentally removed audition for glob. (GH-22805) X-Git-Tag: v3.10.0a2~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d3469988e2c1f53ca84ffdc979d548c04ba3906;p=thirdparty%2FPython%2Fcpython.git bpo-38144: Re-add accidentally removed audition for glob. (GH-22805) --- diff --git a/Lib/glob.py b/Lib/glob.py index 3c449a90dffe..a491363f3f93 100644 --- a/Lib/glob.py +++ b/Lib/glob.py @@ -33,6 +33,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False): If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. """ + sys.audit("glob.glob", pathname, recursive) if root_dir is not None: root_dir = os.fspath(root_dir) else: