Consider the following config file:
[section]
some_var = 1
[other_section]
other_var = ${section:some_var}
My idea would be to have an optional additional argument to perform some
implied arithmetic e.g.
[other_section]
other_var = ${section:some_var:int} + 1
Thoughts?
Paul
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/BO2G723AKRY3D7Q55MYF26UG7F6K7NB7/
Code of Conduct: http://python.org/psf/codeofconduct/