ConfigParser: typed ExtendedInterpolation

Feb. 8, 2022
1:30 p.m.
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
1135
Age (days ago)
1135
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Korir