On Mon, 17 Aug 2020 at 11:17, Steven D'Aprano <[email protected]> wrote: > Did you have a specific question to be answered or are you just hoping > to get people interested in the proposal?
It seems I have to repost the proposal I already wrote... My proposal is to add a way for third party modules to add custom keywords. Example: from mykeywords import @const @const a = 1 Notice that I choose "@" but I hope another non c-alphanumeric character will be chosen. On Mon, 17 Aug 2020 at 12:46, Chris Angelico <[email protected]> wrote: > A proposal that requires syntactic changes [...] No syntactic changes are needed. Custom keywords *must* be prefixed with a non-alphanumeric character (@ for example). ACK _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/NUAHVSON3HTHNEZ7GBCI3R6XE4RSSSZP/ Code of Conduct: http://python.org/psf/codeofconduct/
