[issue28527] Hack in `genericpath.commonprefix()` crashes if `m` argument is not indexable

Christian Heimes report at bugs.python.org
Tue Oct 25 06:27:15 EDT 2016


Christian Heimes added the comment:

That's correct. The function raises a TypeError when you pass in a wrong type.

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28527>
_______________________________________


More information about the Python-bugs-list mailing list