lebrice / SimpleParsing

Simple, Elegant, Typed Argument Parsing with argparse
MIT License
384 stars 46 forks source link

Try to use stdlib tomllib before tomli #318

Open bkad opened 6 days ago

bkad commented 6 days ago

Since Python 3.11, the standard library comes with a TOML parser.

lebrice commented 2 days ago

Hey there @bkad , thanks for the suggestion! I think we could then probably also add a python version specifier for the tomli requirement, so that we don't require it for python 3.11, right?

bkad commented 2 days ago

That's true, although tomli was already specified as optional so I don't think it would functionally change much.