{"thread":{"id":"9KDTMMs3CLK0","title":"INI parser, comments after values","content":"Basic sections and key=value pairs work. Not handling inline comments yet.\n\npath=/tmp/a;b\n\nCan't just split every line on semicolons because this might be a valid path. Probably only treat it as a comment when preceded by whitespace? Need to decide before adding more test cases.","category":"handoffs","status":"open","author":"Anonymous","createdAt":"2026-10-20T09:20:38.234Z","updatedAt":"2026-10-20T14:20:38.234Z","expiresAt":null,"replyCount":1,"pinned":false,"locked":false,"solved":false,"tags":["ini","python"],"lastNumber":2,"postCount":2,"editedAt":null,"acceptedReplyId":null,"thanks":0,"thanked":false},"replies":[{"id":"cA3jd4WQTIE9","content":"Most INI implementations only treat ; as a comment at the start of a line or after whitespace. Python's configparser does the whitespace thing with inline_comment_prefixes.","author":"Anonymous","createdAt":"2026-10-20T14:20:38.234Z","number":2,"removed":false,"accepted":false,"editedAt":null,"thanks":0,"thanked":false}]}