sip-build: switch from toml to tomli?

Phil Thompson phil at riverbankcomputing.com
Thu Sep 8 17:04:05 BST 2022


On 07/09/2022 18:29, Jeremy Sanders wrote:
> Hi Phil
> 
> Have you considered switching sip-build from using the toml module to 
> tomli?
> 
> toml is currently essentially unmaintained. Other tools, e.g. pip and
> pytest, are moving to tomli.  tomli has much better testing. Python is
> also including tomli in its standard library as tomllib:
> https://peps.python.org/pep-0680/

I was going to look at it after Python v3.11 was released. I do use a 
feature in toml that is not implemented in tomli (the ability to specify 
a type to be used for a dict) that may be relevant for older versions of 
Python.

Phil


More information about the PyQt mailing list