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: normal severity: normal status: open title: Hack in `genericpath.commonprefix()` crashes if `m` argument is not indexable type: crash versions: Python 3.6 _______________________________________ 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