Hi, other author here ! I'm still following the lists but not writing any more. :)
Stefano if you want to change pep 472 there is no problem on my side (but I've read that some people preferred a new one), I remember that you did all the work anyway ! Since lots will change just remove my name, it's fine. As for the technical discussion, I like how __getitem__(self, index, **kwargs) (and variations with named keyword args, of course) looks more like a normal function. "index" is already a strange beast (it's a tuple except when it's not), I vote that we don't add new ones and stick with existing standard types. As for foo[a=1, b=2], I'd propose to keep it a SyntaxError for now, and always require an index. This way it can be changed later when people are more used to the keyword args and have more ideas of what would be good as a default argument. In the face of ambiguity, refuse the temptation to guess ;) Joseph _______________________________________________ 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/NEC7I67ML4KSE37OGYA2RVTSUBLGA6LX/ Code of Conduct: http://python.org/psf/codeofconduct/