Fred L. Drake, Jr. <fdr...@acm.org> added the comment: I doubt anyone is looking for section names with leading or trailing whitespace.
One approach to dealing with this is to provide and sectionxform similar to optionxform. If we're wrong and someone really is expecting leading or trailing whitespace, they can set that (to str) to cancel out the change in behavior. While I'd be surprised if anyone relies on this, it is a feature change, no matter how it's implemented, so must wait for 3.3. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com