Re:What the Heck Is Pyproject.toml?
by scrollaway on Wednesday April 01, 2020 @11:33PM
(#22755985)
It makes sense to use toml. It makes zero sense not to bring pytoml in the stdlib before doing so. The way this was handled is a little absurd.
Re:What the Heck Is Pyproject.toml?
by brettcannon on Thursday April 02, 2020 @07:58PM
(#22765113)
It was on purpose because TOML has not reached 1.0 yet and breaking people using a module in the stdlib for parsing TOML because TOML itself changed would be an absolute mess. Plus not a single packaging project said it was an issue to either depend on or vendor a TOML parser.
Once TOML hits 1.0 I plan to work on getting a TOML parser into Python's stdlib.
(disclaimer: I am one of the co-authors of PEP 518 that apparently handled things in way that was "a little absurd" .)
> The pytoml TOML parser is ~300 lines of pure Python code, so being outside the standard library didn't count heavily against it.
From the link. Makes sense I think.
The PEP has provisional status. Maybe before it lands it will be brought in.
https://www.python.org/dev/peps/pep-0518/#overview-of-file-f...