79676806

Date: 2025-06-23 22:08:50
Score: 0.5
Natty:
Report link

I've started using TOML for a different application, and I think it's a better fit here than CSV. Starting with Python 3.11, tomllib.load returns a dictionary with each entry in an appropriate type, i.e., it does the typecasting for you.

As I said in a comment earlier, I'm not sure it's worth porting a bunch of old CSV files to TOML, but if I had to implement this feature from scratch, I would use TOML.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ilya