[issue36143] Auto-generate Lib/keyword.py

2021-01-18 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36143] Auto-generate Lib/keyword.py

2021-01-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6a809fa01f59bb00f4029d35d132cd87553554c3 by Victor Stinner in branch 'master': bpo-36143: make regen-all now also runs regen-keyword (GH-24245) https://github.com/python/cpython/commit/6a809fa01f59bb00f4029d35d132cd87553554c3 --

[issue36143] Auto-generate Lib/keyword.py

2021-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23066 pull_request: https://github.com/python/cpython/pull/24245 ___ Python tracker ___

[issue36143] Auto-generate Lib/keyword.py

2019-03-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36143] Auto-generate Lib/keyword.py

2019-03-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 91759d98015e1d6d5e1367cff60592ab548e7806 by Pablo Galindo in branch 'master': bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456)

[issue36143] Auto-generate Lib/keyword.py

2019-03-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12409 stage: -> patch review ___ Python tracker ___ ___

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread STINNER Victor
STINNER Victor added the comment: > Do not haste with this. After implementing pgen in Python, Lib/keyword.py can > be generated directly by pgen. That's bpo-35808 and PR 11814 which is under review. Anyway, at the end, it would be nice if Lib/keyword.py would be regenerated by "make

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Guido van Rossum
Guido van Rossum added the comment: Hum, it seems the right solution was to arrange for async and await to appear in the list of keywords despite their special status. Nevertheless in theory there's something that can be done here to auto-regenerate the list derived from the Grammar.

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Guido van Rossum
Guido van Rossum added the comment: (However that doesn't seem to work. Anyway, there's a list of all keywords there.) -- ___ Python tracker ___

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Guido van Rossum
Guido van Rossum added the comment: A similar thing seems to be the list of keywords in Lib/pydoc.py. The recipe says # CAUTION: if you change one of these dictionaries, be sure to adapt the # list of needed labels in Doc/tools/extensions/pyspecific.py and #

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Noted. Releasing this in favor of when pgen is implemented in Python to solve this. -- ___ Python tracker ___

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do not haste with this. After implementing pgen in Python, Lib/keyword.py can be generated directly by pgen. -- nosy: +serhiy.storchaka ___ Python tracker

[issue36143] Auto-generate Lib/keyword.py

2019-02-28 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I am working on this. Shouldn't there be a PR by tomorrow from me. Someone else can take it on. -- nosy: +nanjekyejoannah ___ Python tracker

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cheryl.sabella ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Zachary Ware
Zachary Ware added the comment: Lib/keyword.py already regenerates itself from Python/graminit.c when run as a script, but there should be a `regen-keyword.py` target added to Makefile.pre.in and included as a dependency of the `regen-all` target. Agreed that this is a good starting issue,

[issue36143] Auto-generate Lib/keyword.py

2019-02-27 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- title: AUto-generate Lib/keyword.py -> Auto-generate Lib/keyword.py ___ Python tracker ___

[issue36143] AUto-generate Lib/keyword.py

2019-02-27 Thread Guido van Rossum
New submission from Guido van Rossum : The stdib keyword.py module must be regenerated after adding/removing keywords from the grammar. While this is rare, we now generate everything else derived from the grammar. Hopefully someone can add some rules to the Makefile to auto-generate this one