by coldtea · 4y ago · 0 comments
Then don't use TOML for internal stuff?
Or just settle on a way your lib writes it, and if every parser out there can read it anyway, and get the same deserialized structure, it doesn't matter which way you write it exactly...
As for it was a good idea, this has already been debated and acted upon, there is no need to repeat exactly the same arguments.
You will find the detailed rational in the PEP, and link to the various discussions.
Well, the same debates happened over many other decisions debated, acted upon, and later regretted and reverted. At some point the GIL seemed like a good decision too!
Similarly, TOML writing is a ton of completely. The org isn't opposed to adding toml writing to the stdlib fundamentally, they just aren't rushing and want to hammer out all of the grossness first.
No need to project psychology on it...