-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededmake good first issueCould be a good first issue if more details were providedCould be a good first issue if more details were provided
Description
The primary method for handling # and @ is to support them as single character puncts and force the caller to deal with the repercussions (what we do currently).
It may make more sense to treat these as extentions to ident_start similar to the inclusion of _ and $. The plus side here is that the caller would have less to do after tokenization, the negative is that we would be pretty tied to the proposal as it is today and if it were to change then we would have much more work to remove the code.
One possibility would be to also extend the Ident struct to have is_decorator and is_private methods.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededmake good first issueCould be a good first issue if more details were providedCould be a good first issue if more details were provided