New submission from Jürgen Gmach <juergen.gm...@googlemail.com>: Yesterday, I was bitten by ConfigParser' default behavior to lowercase keys on reading.
When I looked in the documentation and the source code, I found that lowercase was sometimes written as "lower-case", e.g. here https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform The webster dictionary only accepts "lowercase" as a valid English word: https://www.merriam-webster.com/dictionary/lowercase Before I wanted to create a pull request for this one, I also grepped the complete source code with the following result: lower-case 24 lowercase 207 upper-case 9 uppercase 201 I'd like to create a pull request which canonicalizes the writing to a consistent "lowercase" resp. "uppercase". Is there any core dev out there willing to review / merge this kind of PR? ---------- messages: 392978 nosy: jugmac00 priority: normal severity: normal status: open title: canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase" _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44045> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com