Nick Coghlan <ncogh...@gmail.com> added the comment: > BTW, I'm a bit surprised that the grammar doesn't allow for trailing commas > after keyword-only arguments: that is, > > def f(a, b,): ... is fine, but > def f(*, a, b,): ... is a SyntaxError
That seems more like an oversight than a deliberate restriction. Does your patch eliminate the discrepancy? (And agreed the moratorium doesn't apply). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com