New submission from Guido van Rossum <gu...@python.org>:

Pgen is literally the oldest piece of technology in the CPython repo -- it was 
the first thing I wrote for Python over 29 years ago. It's not aged well, and 
building it requires various #if[n]def PGEN hacks in other parts of the code; 
it also depends more and more on CPython internals. There already is a 
replacement written in pure Python (Lib/lib2to3/pgen/), it just needs some glue 
to actually generate the graminit.[ch] files. Note that several other essential 
generation steps (everything listed for regen-all except regen-importlib and 
clinic) already depend on having a working Python interpreter around, so let's 
not worry about the bootstrapping process.

----------
components: Build
messages: 334247
nosy: gvanrossum
priority: low
severity: normal
stage: needs patch
status: open
title: Let's retire pgen
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35808>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to