Mailing List Archive

bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
https://github.com/python/cpython/commit/1d3469988e2c1f53ca84ffdc979d548c04ba3906
commit: 1d3469988e2c1f53ca84ffdc979d548c04ba3906
branch: master
author: Serhiy Storchaka <storchaka@gmail.com>
committer: serhiy-storchaka <storchaka@gmail.com>
date: 2020-10-20T19:45:38+03:00
summary:

bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)

files:
M Lib/glob.py

diff --git a/Lib/glob.py b/Lib/glob.py
index 3c449a90dffef..a491363f3f939 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:

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins