2 ms·
What's wrong with the comment support? You can't have comments at the end of a line, but that's sort of the nature of supporting arbitrary strings as values. I
by nomel 7y ago
What's wrong with the comment support?
You can't have comments at the end of a line, but that's sort of the nature of supporting arbitrary strings as values. I don't want my users to have to quote or escape special characters if they happen to want to use them. They're not programmers.
# The note to display
note = Our #1 customer!
rather than
name = Our \#1 customer # The note to display.
or
name = "Our #1 customer" # The note display
- kingosticks 7y ago> What's wrong with the comment support? Comments are simply ignored. You can't read them. You might want to read a commented config file in, make a change to a setting and then write that out. You can't do that. But you can write comments using the 'allow_no_value=True' hack, as long as long as you put it in a section. > You can't have comments at the end of a line You can. You need to use ';' for inline comments and you must proceed it with whitespace. Are your users ready for that?
- nomel 7y ago> make a change to a setting and then write that out Very good point. > You can. You need to use ';' for inline comments I have some bugs to fix.