Rik Poggi <poggi.ri...@gmail.com> added the comment: I wasn't trying to make any argument, just thinking that such particular signature was intentional.
Also notice that there might be code that doesn't pass the pattern argument, and fall back on the default value. So a signature change will break their code. I think that the best solution would be to provide a better documentation. I don't know what's the rational behind all that. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com