Ad 4) Wouldn't "<=" be a little more logical than "=>"? The perceived direction of the "flow" of the default value is exactly opposite, i.e., the default value is always evaluated and then put *into* the argument.
For example: def bisect_right(a, x, lo=0, hi<=len(a), *, key=None): _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WBRQJB6YCNEFGOKBXGGL6WX6M66LCRAE/ Code of Conduct: http://python.org/psf/codeofconduct/