msg261726 - (view) |
Author: Sudheer Satyanarayana (Sudheer Satyanarayana) |
Date: 2016-03-14 06:23 |
"The Requests package is recommended for a higher-level http client interface." Change 'http' to uppercase. https://docs.python.org/2/library/httplib.html https://docs.python.org/2/library/urllib.html https://docs.python.org/3/library/http.client.html |
|
|
msg261730 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2016-03-14 07:49 |
Could you provide a patch Sudheer? |
|
|
msg261756 - (view) |
Author: Anish Shah (anish.shah) * |
Date: 2016-03-14 14:42 |
Patch for urllib and httplib in Python 2 |
|
|
msg261757 - (view) |
Author: Anish Shah (anish.shah) * |
Date: 2016-03-14 14:42 |
Patch for http.client in Python3 |
|
|
msg261759 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2016-03-14 15:06 |
There are occurrences of "http" in lower case in docstrings and comments. The same for https and ftp (and may be other abbreviations). |
|
|
msg261947 - (view) |
Author: Aatish Neupane (aatishnn) * |
Date: 2016-03-18 06:21 |
I have attached the patches fixing numerous case errors. |
|
|
msg261964 - (view) |
Author: Martin Panter (martin.panter) *  |
Date: 2016-03-18 10:48 |
The three fix_x.y patches look good to me. I pointed out one more fix on the review. I think there are plenty more similar changes that could be made if somebody wanted to. |
|
|
msg261969 - (view) |
Author: Serhiy Storchaka (serhiy.storchaka) *  |
Date: 2016-03-18 11:42 |
Similar changes could be made in docstrings and comments. But changing error messages can be not safe and could be made only in 3.6. |
|
|
msg261972 - (view) |
Author: Aatish Neupane (aatishnn) * |
Date: 2016-03-18 14:05 |
I found some other similar errors with the suggestion from the patch review. I have uploaded the new patches as 2_fix* . |
|
|
msg261990 - (view) |
Author: Terry J. Reedy (terry.reedy) *  |
Date: 2016-03-18 19:44 |
Aatish, please sign the CLA https://www.python.org/psf/contrib/ https://www.python.org/psf/contrib/contrib-form/ |
|
|
msg262017 - (view) |
Author: Aatish Neupane (aatishnn) * |
Date: 2016-03-19 02:37 |
I already did that. |
|
|
msg266455 - (view) |
Author: Nathan Harold (nharold) * |
Date: 2016-05-26 20:58 |
The 2_fix* patches were unfortunately slightly broken because an unrelated revision to xmlrpc.client.rst changed one of the lines the patch files were using as an anchor (by adding a period to the end). I've uploaded the 3_fix* series, which addresses this. The actual changes in these patches are identical to those in their precursors: capitalization of HTTP, HTTPS, FTP, and URL in a few places. |
|
|
msg266528 - (view) |
Author: Roundup Robot (python-dev)  |
Date: 2016-05-28 02:35 |
New changeset 4275181c4229 by Martin Panter in branch '3.5': Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL https://hg.python.org/cpython/rev/4275181c4229 New changeset 8c92ebcca83f by Martin Panter in branch 'default': Issue #26553: Merge capitalization from 3.5 https://hg.python.org/cpython/rev/8c92ebcca83f New changeset d914d681b7f3 by Martin Panter in branch '2.7': Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL https://hg.python.org/cpython/rev/d914d681b7f3 |
|
|
msg266529 - (view) |
Author: Martin Panter (martin.panter) *  |
Date: 2016-05-28 03:12 |
Thankyou Nathan, and also Anish & Aatish. For the record, it is normally enough to do a patch against the latest (3.6), and any minor conflicts can be sorted out when applying it to 3.5. In this case the 3.5 and 3.6 patches were basically the same. But the separate patch for 2.7 was very helpful, because there are so many differences between 2 and 3. |
|
|