Jonathan Hogg added the comment:

While I agree that the documentation specifies that this function takes a list, 
the previous version did not require a list, just any object that is iterable.

Unfortunately, this change is causing a break in real code (`xon.sh` in this 
case, which appears to pass a `set()` to this function).

Given the `os.fspath` change could have been made to not require an indexable 
argument, I would argue that this change is an unnecessary regression.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28527>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to