Larry Hastings added the comment: Optional groups really are only for cases when that's the behavior of the original code. If the original function used a switch statement examining the size of the tuple, then had different parsing functions based on that size, use optional groups.
But if the function can be expressed with normal positional parameters and default values, that's best. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20177> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com