Éric Araujo <mer...@netwok.org> added the comment: Because I choose to follow Ian’s remark in msg127957: > the implementation could use a couple regexes instead of iterating > over strings though
I have not touched the tests, so I felt confident with my regex. FWIW, I’ve also changed the argument name, since the function is not limited to file names (as I hopefully made clear in the doc). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com