To Adopt mandatory semicolon in method calls if kwargs are passed

I’m not saying you can’t have named argument for new. I’m saying that if you want to add such support, it doesn’t need any help to distringuish between them. In particular, a named argument can’t have any other meaning.

Yes. I’m not making any argument about Allow use of named-argument syntax for positional arguments?. I’m simply saying the semicolon is completely unrelated and unimportant.

Right, and I’m saying that the idea of making semicolon madatory helps none of the problems/issues. Those are all not done for much deeper reasons and it doesn’t make sense to talk about this syntax without any concusion on those.

And just to make it more clear, I’m not making any argument for or against any of the new syntax you are proposing. I’m simply saying that none of what you are proposing are related to semicolons.


And again, a non-“mandatory” semicolon simply means that the semicolon does not change the meaning, this is only the case when put in front of named arguments in function call. The only reason one would want to change it would be to give named argument before and after the semicolon a different meaning. That’s the only thing the discussion should focus on but there’s no such proposal here other than the linked thread.

1 Like