Sebastian Bank added the comment: If this is the intended behaviuour, I guess ConfigParser should warn the user if he supplies a section name with a ']' (prevent failed roundtrips).
See http://bugs.python.org/issue23301 The current behaviour looks like the opposite of Postel's law. ---------- nosy: +xflr6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20923> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com