summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-31351: Set return code in ensurepip when pip fails (GH-3734)Igor Filatov2017-09-251-0/+3
| | | | | | | Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
* bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3676)Christian Heimes2017-09-201-2/+2
| | | (cherry picked from commit 19e4d93)
* [2.7] Clarify nature of parse_args 'args' argument. (GH-3292) (GH-3328)R. David Murray2017-09-101-3/+15
| | | | | Patch by Paul.j3. Includes an unrelated but useful addition to the optparse porting section. (cherry picked from commit 0c7983e4adf9604d0ac93757a45d14be06c27696)
* [2.7] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3446)Christian Heimes2017-09-081-1/+27
| | | | | | | | | | | | | | | | * bpo-29136: Add TLS 1.3 support TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3 cipher suites don't overlap with cipher suites from TLS 1.2 and earlier. Since Python sets its own set of permitted ciphers, TLS 1.3 handshake will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common AES-GCM and ChaCha20 suites. Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3 now. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit cb5b68abdeb1b1d56c581d5b4d647018703d61e3)
* [2.7] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated ↵Miss Islington (bot)2017-09-071-1/+3
| | | | | | newlines. (GH-3272) (GH-3428) Also provide a solution if the user wants to keep multiple blank lines. (cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
* [2.7] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3400)Miss Islington (bot)2017-09-071-0/+6
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
* [2.7] bpo-30714: ALPN changes for OpenSSL 1.1.0f (#3094)Christian Heimes2017-08-151-2/+3
| | | | | | | | | | | OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that. The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN callback can pretend to not been set. See https://github.com/openssl/openssl/pull/3158 for more details Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit a5c1bab352671e043645163ca50c5211aa657acd)
* Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2942)Mariatta2017-07-291-1/+1
| | | (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
* bpo-30304: Improve TestCase.assertMultiLineEqual docs (GH-2847)Aditya Hase2017-07-251-1/+1
| | | Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.
* [2.7] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2780)Mariatta2017-07-201-1/+1
| | | (cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
* Add a missing asterisk in traceback doc to complete formatting (#2675)Xiang Zhang2017-07-121-1/+1
|
* json Docs: Trivial update to the code example (GH-2465)Kit Sunde2017-07-101-1/+1
| | | Replace `dumps` with `json.dumps`
* [2.7] Docs: fixed placement of .. _func-list: in functions.rst (#2520)Dmitry Tokarev2017-06-301-1/+1
| | | Oh, this is my fault too. I missed this mistake. Thank you for the correction.
* Fixed 2.7 docs - links to list, backported from python3.x (#2518)Dmitry Tokarev2017-06-301-1/+3
|
* bpo-30176: Add missing curses cell attributes constants (#2278)Xiang Zhang2017-06-191-9/+45
|
* bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) ↵Mariatta2017-06-141-1/+1
| | | | | (GH-2196) (cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
* [2.7] Mention how to disable signal fd wakeup (GH-2140) (#2151)Antoine Pitrou2017-06-131-2/+4
| | | (cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
* bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2137)Marco Buttu2017-06-121-0/+2
| | | (cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
* bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2067)Mariatta2017-06-101-4/+4
| | | | Mention that fnmatchcase does not call normcase, and fnmatch does. (cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
* bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1907)Mariatta2017-06-011-3/+1
| | | (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
* bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1898)Mariatta2017-06-011-3/+4
| | | | | | | | The "iterable iterable" phrasing created confusion between the term reference and the parameter name. This simplifies the phrasing to just use the parameter name without linking directly to the term definition.. (cherry picked from commit 08e2f355d04d3cbea5751ce1275306ee3f569b32)
* [2.7] Indent methods and attributes of MimeType class (GH-1306) (#1801)Stéphane Wirtel2017-05-251-43/+43
|
* added re.UNICODE effects to insensitive flags (#1781)Brian Ward2017-05-241-3/+6
|
* [2.7] Fix typos in multiple `.rst` files (GH-1668) (#1707)delirious-lettuce2017-05-222-2/+2
|
* [2.7] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1616)Serhiy Storchaka2017-05-164-3/+4
| | | | | | | | * Use explicit numbering for footnotes referred by explicit number. * Fix literal strings formatting in howto/urllib2.rst. * Add `:noindex:` to duplicated definition of list. * Update susp-ignored.csv for reference/expressions.rst. (cherry picked from commit d97b7dc94b19063f0589d401bdc4aaadc7030762)
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-045-21/+21
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [2.7] bpo-30223: Add Lib/test/__main__.py. (#1373)Serhiy Storchaka2017-05-021-1/+5
| | | | | | To unify running tests in Python 2.7 and Python 3, the test package can be run as a script. This is equivalent to running the test.regrtest module as a script.
* bpo-30207: Rename test.test_support to test.support. (#1353)Serhiy Storchaka2017-04-301-16/+17
| | | | | | | | To simplify backports from Python 3, the test.test_support module was converted into a package and renamed to test.support. The test.script_helper module was moved into the test.support package. Names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper.
* [2.7] bpo-30208: DOC: fix small typos in IDLE (#1358)csabella2017-04-301-8/+8
| | | (cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
* [2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305)Dong-hee Na2017-04-261-7/+0
|
* Fix typo in HTTPConnection.set_tunnel description (#1179)Christopher Snyder2017-04-191-1/+1
|
* bpo-30021: Add examples for re.escape(). (#1048) (#1118)Serhiy Storchaka2017-04-131-4/+15
| | | | | And fix the parameter name. (cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)
* [2.7] Correct typo in configparser.rst (GH-1012) (GH-1026)Mariatta2017-04-091-2/+2
| | | (cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d)
* bpo-29506: Clarify deep copy note in copy moduleNick Coghlan2017-04-091-2/+2
| | | | | | | | The reference to administrative data was confusing to readers, so this simplifies the note to explain that deep copying may copy more then you intended, such as data that you expected to be shared between copies. Patch by Sanyam Khurana.
* [2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899)Mandeep Singh2017-03-301-3/+4
|
* Insert a missing semicolon in sgmllib documentation (#772)cocoatomo2017-03-221-1/+1
|
* fix function name in tabnanny documentation (GH-764)Xiang Zhang2017-03-221-4/+4
|
* bpo-29856: Fix typo in curses documentation (GH-730) (GH-733)Mariatta2017-03-201-1/+1
| | | | From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst (cherry picked from commit 64508780d72769e4c7afc67a511c057261c578f6)
* fix parameter names in ftplib documentation (GH-656)Xiang Zhang2017-03-131-6/+6
|
* Insert the line which should not have been deleted (#581)cocoatomo2017-03-091-0/+1
| | | see [bpo-29772](http://bugs.python.org/issue29772)
* bpo-29709: Improve Boolean Operations documentation (#433) (#438)Mariatta2017-03-031-2/+2
| | | (cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170)
* bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-321)Mariatta2017-02-261-0/+6
| | | (cherry picked from commit ed6795e46f7653e23b862efad240a93453e7df97)
* bpo-29474: Improve documentation for weakref.WeakValueDictionary (#11)Mariatta2017-02-111-2/+2
| | | | There were some grammatical errors in weakref.WeakValueDictionary documentation.
* Issue #29371: Clarify bitwise OR operation in doctest option flags.Mariatta Wijaya2017-02-071-6/+7
|
* Issue #29329: Improve documentation for hex(). Patch by Ammar AskarMariatta Wijaya2017-02-021-1/+1
|
* Add clarity to the warning on certificate verification in urllib.Senthil Kumaran2017-01-281-4/+9
|
* Issue #29189: Fix indentation in RST markupMartin Panter2017-01-241-38/+38
|
* Issue #29274: tests cases → test casesMartin Panter2017-01-181-4/+4
|
* Avoid line breaks after hyphens, otherwise they are turned into spacesMartin Panter2017-01-141-2/+2
|
* Issue #15527: remove double parens by changing markup.Martin Panter2017-01-142-3/+3
| | | | Patch by Serhiy Storchaka.