bpo-40147: Move the check for duplicate keywords to the compiler (GH-19289)

4 files changed