[New-bugs-announce] [issue38149] sys.audit() is called multiple times for glob.glob()
Serhiy Storchaka
report at bugs.python.org
Fri Sep 13 05:07:51 EDT 2019
New submission from Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38149>
_______________________________________
More information about the New-bugs-announce
mailing list