CPython Internal Developer Guide How to Update Python Grammar Update Grammar/python.gram Create a Makefile ./configure Update keyword.py make regen-keyword Update parser.c make regen-pegen Build codebase to create python make -j4 Test your changes by running ./python.