I think I'm missing something (no, NOT just my marbles, something else 😁). Do you mean bare unbound identifiers?
On Fri, May 28, 2021 at 5:07 PM Rob Cliffe Co<rob.cliffe@btinternet.com> wrote:
On 29/05/2021 00:51, micro codery wrote:
Please, please, please, don't ever make type hints *required*! Some of us are perfectly happy not using them (and not having to learn them)!
I also don't know what should happen for complicated assignments, and I think thishas been the death of such variable decorator discussions in the past, so I wouldstill push for only bare identifiers, with or without a type hint (but maybe it will bebetter received by more if the type hint is required?).
Rob Cliffe
Fair enough! If this became accepted syntax I woulduse it without type hints. Even for those of us that douse type hints in places, it shouldn’t generally benecessary because the decorator will have a returntype annotation.I think the original argument was that currently bareidentifiers are not allowed unless they haveannotation.
But this is introducing a new multilinesyntax, and it makes no more sense to take away thesecond line and expect a naked decorator to be validthan it does remove the decorator and expect thenaked identifier to be valid.