3 ms·
Here's their justification for using it. It makes sense to me. https://www.python.org/dev/peps/pep-0518/#overview-of-file-formats-considered https://www.python
by benatkin 7y ago
Here's their justification for using it. It makes sense to me.
https://www.python.org/dev/peps/pep-0518/#overview-of-file-formats-considered https://www.python.org/dev/peps/pep-0518/#overview-of-file-f...
- scrollaway 7y agoIt 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.
- benatkin 7y agoThe PEP has provisional status. Maybe before it lands it will be brought in.
- alien1993 7y ago> 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.
- brettcannon 7y agoIt 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" .)
- billfruit 7y agoBut really goes against 'batteries included' not having TOML support in standard library.