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
New submission from Jonathan Hogg:
If `genericpath.commonprefix()` is called with a non-indexable argument, then
the check for passing in a list of lists/tuples will raise an exception due to
the `m[0]` test.
--
components: Library (Lib)
messages: 279386
nosy: jonathanhogg
priority