New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
sys.audit() for "glob.glob" is called in a recursive function _iglob(). So in process of executing glob.glob() it can be called multiple times, with the original pattern and with patterns for parent directories, while there are metacharacters in them. I do not think it was intentional. ---------- components: Library (Lib) messages: 352248 nosy: serhiy.storchaka, steve.dower priority: normal severity: normal status: open title: sys.audit() is called multiple times for glob.glob() versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38149> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com