On Sun, 27 Sep 2020 at 05:06, Ricky Teachey <ri...@teachey.org> wrote:
>>> obj[**d] = "foo" # no kwd arguments provided here I committed yesterday the following proposal https://github.com/python/peps/pull/1622 But to be honest I am not sure if we should disallow these two constructs d[*()] d[**{}] as equivalent to the disallowed d[] or allow them as equivalent to d[()] (or whatever the sentinel will be) >> PS. Maybe we can just stop debating this PEP? I have a feeling that we're >> going around in circles. I think Stefano has some changes that he would like >> to see vetted, but the best way to signal an empty index is not one of them. I am not sure. I am on the fence on many topics. There seem to be no clear solution on many of them, it boils down to taste and compromise. In any case, I listen to all proposals (although with a small delay). I am working on the sentinel issue at the moment https://github.com/python/peps/compare/master...stefanoborini:pep-637-on-default-sentinel-value -- Kind regards, Stefano Borini _______________________________________________ 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/BJK6QY6GM2LQK5BSVCZVUNYBSODNV6G4/ Code of Conduct: http://python.org/psf/codeofconduct/