Author mbarkhau
Recipients docs@python, mbarkhau
Date 2020-01-19.20:40:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python 3.8, the types of the parameters to the ignore callable appear to have changed.

Previously the `src` parameter was a string and the `names` parameter was a list of strings. Now the `src` parameter appears to be either a `pathlib.Path` or an `os.DirEntry`, while the `names` parameter is a set of strings.

I would suggest adding the following to the documentation

   .. versionchanged:: 3.8
      The types of arguments to *ignore* have changed. The first argument 
      (the directory being visited) is a func:`os.DirEntry` or a 
      func:`pathlib.Path`; Previously it was a string. The second argument is
      a set of strings; previously it was a list of strings.
Date User Action Args
2020-01-19 20:40:46mbarkhausetrecipients: + mbarkhau, docs@python
2020-01-19 20:40:46mbarkhausetmessageid: <>
2020-01-19 20:40:46mbarkhaulinkissue39390 messages
2020-01-19 20:40:46mbarkhaucreate