Skip to content

add TOML parser to standard library #1133

@imomaliev

Description

@imomaliev

Hi, I am sure this was suggested somewhere before, but I couldn't find any references. I think toml file parser should be part of standard library. I know there is discussions like https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704. But toml is now official format for build system via pyproject.toml. So it is very odd that we have to use external tools to parse it. Also many tools like black already started using it as configuration file. I know that pyproject.toml wasn't intended for such usecase, but nonetheless it very well may be a centralised configuration file for many QA and dev tools like flake8, coverage etc.

I suggest creating pep for adding TOML to standard library

P.S. Wasn't sure that this is right place to bring this up. If not we could start discussion somewhere else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions