Message392978
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? |
|
Date |
User |
Action |
Args |
2021-05-05 06:55:02 | jugmac00 | set | recipients:
+ jugmac00 |
2021-05-05 06:55:02 | jugmac00 | set | messageid: <1620197702.64.0.842506746394.issue44045@roundup.psfhosted.org> |
2021-05-05 06:55:02 | jugmac00 | link | issue44045 messages |
2021-05-05 06:55:02 | jugmac00 | create | |
|