why use special config formats?
tomerfiliba at gmail.com
Sat Mar 11 14:49:38 CET 2006
>> Why is the first uglier than the second?
YES THATS THE POINT. PYTHON CAN BE USED JUST LIKE A CONFIG FILE.
and if your users did
timeout = "300"
timeout = 300
then either your config parser must be uber-smart and all-knowing, and
check the types of key-value pairs, or your server would crash. either
way is bad, and i prefer crash-on-use then
More information about the Python-list