Commit Graph

565 Commits

Author SHA1 Message Date
Zachary Ware
d379d6377f Issue #27204: Fix doctests in Doc/howto
Initial patch by Jelle Zijlstra.
2016-08-09 17:03:32 -05:00
Martin Panter
8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Senthil Kumaran
75d7b615ba Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue reported and patch contributed by Rémi Rampin.
2016-07-30 05:49:53 -07:00
Martin Panter
a850ef698e Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter
b362f75f6e Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Martin Panter
fcd7d34afb Issue #25570: Add example of customizing User-Agent via add_header() 2016-06-01 08:20:22 +00:00
Martin Panter
200a615774 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Donald Stufft
5db0b3396e Fix Issue #21528 - Fix documentation typos 2014-05-20 12:58:38 -04:00
Serhiy Storchaka
12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Martin Panter
f2f1c57b7e Fix typos in comments, documentation and test method names 2016-05-08 13:18:25 +00:00
Serhiy Storchaka
b4905efe23 Issue #26736: Used HTTPS for external links in the documentation if possible. 2016-05-07 10:50:12 +03:00
Raymond Hettinger
ff64b3a532 Issue #24715: Improve sort stability example 2016-04-26 01:09:32 -07:00
Benjamin Peterson
bca06ccb3e fix python 3 mod init function declaration (closes #26827) 2016-04-22 23:43:10 -07:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Berker Peksag
16b83b1f66 Issue #24173: Fix curses.wrapper link in curses HOWTO 2016-04-16 23:15:39 +03:00
Martin Panter
6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
fdcb535893 Issue #25910: Fixed dead links in the docs. 2016-04-11 12:18:56 +03:00
Georg Brandl
6e0b44ef9e Closes #25910: fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch. 2016-02-26 19:37:12 +01:00
Vinay Sajip
cb7fff5ee3 Added a cookbook recipe for a logging context manager. 2016-04-01 23:06:57 +01:00
Georg Brandl
97b6e0bd1b Fix typo. 2016-02-28 21:09:36 +01:00
Vinay Sajip
35bb78ef7b Added simple threading example to logging cookbook. 2016-02-20 19:02:04 +00:00
Benjamin Peterson
51b13e53fc fix typo (closes #26378) 2016-02-17 23:42:46 -08:00
Martin Panter
53ae0ba6e3 Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Senthil Kumaran
9c61f2e45b Fix userinfo example presented in urllib2 howto. 2016-02-05 19:35:57 -08:00
Ezio Melotti
50ba447ab7 #25517: fix regex in the regex howto. Patch by Elena Oat. 2016-01-12 00:07:23 +02:00