Comment on PEP 723 – Embedding pyproject.toml in single-file scripts – peps.python.orgparentComments−Verath3yI think they do kind of answer that under the "Why not use (possibly restricted) Python syntax?".I understand their reasoning to be that it would require other tools to know how to parse python. Which is much more difficult than parsing toml−SushiHippie3yAh okay, I read this but I've understood it in another way. I thought they meant using multiple variables could become a problem. But I guess it makes some sense to not parse the python ast tree but to parse with a regex.
Comments
I think they do kind of answer that under the "Why not use (possibly restricted) Python syntax?".
I understand their reasoning to be that it would require other tools to know how to parse python. Which is much more difficult than parsing toml
Ah okay, I read this but I've understood it in another way. I thought they meant using multiple variables could become a problem. But I guess it makes some sense to not parse the python ast tree but to parse with a regex.