summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-30872: Update the curses docs to Python 3. (GH-2620) (#3887)Serhiy Storchaka2017-10-053-109/+115
| | | (cherry picked from commit 300dd552b15825abfe0e367ac14cec4c3e050dbc)
* [3.6] bpo-31667: Fix gettext related links. (GH-3860) (#3886)Miss Islington (bot)2017-10-042-9/+15
| | | | | | | * Fix incorrect links. * Remove redundant links. * Add signatures and index entries for gettext related functions in the locale module. (cherry picked from commit c02a1f4ad8fcdbffad2911c5a31c71a17a89d713)
* [3.6] point to the module-level get_ident function rather than the one in ↵Miss Islington (bot)2017-09-271-4/+4
| | | | | _thread (GH-3782) (#3783) (cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
* [3.6] bpo-27385: Clarify docstring for groupby() (GH-3738) (#3744)Miss Islington (bot)2017-09-251-1/+1
| | | (cherry picked from commit 49392c63a243052c8013bef80d35202bb6d7c404)
* [3.6] bpo-18558: Clarify glossary entry for "Iterable" (GH-3732) (#3741)Miss Islington (bot)2017-09-251-1/+6
| | | (cherry picked from commit 0bf287b6e0a42877b06cbea5d0fe6474d8061caa)
* [3.6] bpo-30085: Improve documentation for operator (GH-1171) (#3736)Miss Islington (bot)2017-09-241-3/+4
| | | | | The dunderless functions are preferred; dunder are retained for back compatilibity. Patch by Sanket Dasgupta. (cherry picked from commit 5b9299d8c72aeadccadd77e4b8132094ba9a1f96)
* [3.6] bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). ↵Miss Islington (bot)2017-09-241-4/+20
| | | | | | | (GH-3667) (#3719) Defer removing old behavior to 3.8. Document new feature of selection_set() and friends. (cherry picked from commit 2fad10235460ac394cc8b869c41f47aba3d63594)
* bpo-31564: Update typing documentation (GH-3696) (GH-3715)Miss Islington (bot)2017-09-241-3/+9
| | | | Mention that ``NewType`` can derive from another ``NewType``. (cherry picked from commit 039b25d8fd21f8d5d9e3cb536402d952cf068dc1)
* [3.6] Docs: correct hashlib.blake2 keyed hashing example (bpo-31560)Miss Islington (bot)2017-09-231-5/+9
| | | (cherry picked from commit aecc08ac3a14a73aa353655bb65ff8d965e935a0)
* bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)Miss Islington (bot)2017-09-221-0/+3
| | | | | | | | Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1) * Update version changed notice for backport
* bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3675)Miss Islington (bot)2017-09-201-2/+2
| | | (cherry picked from commit 19e4d9346db7fb65845b98a9cb9caacaaac8a81a)
* [3.6] bpo-314777: IDLE - improve rstrip entry in doc (GH-3602) (#3605)Terry Jan Reedy2017-09-151-1/+3
| | | | | 'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who do know know the meaning of 'whitespace'. Multiline string literals are not skipped. (cherry picked from commit ff70289)
* Improve code examples in hashlib cookie signing (GH-3562) (GH-3566)Miss Islington (bot)2017-09-141-3/+4
| | | | | | The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest (cherry picked from commit 312ffead1eb272535e021e248b5d74ab04b2e72e)
* [3.6] bpo-31394: Clarify documentation about token type attribute (GH-3469) ↵Mariatta2017-09-131-2/+3
| | | | | | (GH-3525) Make it clear that Ellipsis tokens also have type attribute set to token.OP.. (cherry picked from commit 5f8fbf917ebf2398aa75a1f271617e2e50ab7c88)
* [3.6] bpo-31421: Document how IDLE runs tkinter programs. (GH-3513) (#3514)Miss Islington (bot)2017-09-121-6/+29
| | | | | IDLE calls tcl/tk update in the background in order to make live interaction and experimentatin with tkinter applications much easier. (cherry picked from commit 98758bc67fb39b74bab368bef8ff3b34554c77c8)
* [3.6] bpo-27099: Finish updating IDLE doc and help text. (GH-3510) (#3511)Miss Islington (bot)2017-09-121-4/+4
| | | | As needed for the conversion of extensions to features. (cherry picked from commit adb4cd2a2a59019ac6955e0fd531c9fec9258962)
* [3.6] bpo-27099: IDLE - Convert built-in extensions to regular features ↵Terry Jan Reedy2017-09-111-20/+3
| | | | | | | | | | | | | | | | | | | | | | | (GH-2494) (#3487) About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy. (cherry picked from commit 58fc71c)
* bpo-29136: Fix versionchange for TLS 1.3 changes (#3483)Christian Heimes2017-09-101-3/+3
| | | | | Thanks Arfrever! Signed-off-by: Christian Heimes <christian@python.org>
* [3.6] Improve IncrementalEncoder documentation (GH-2746) (GH-3475)Miss Islington (bot)2017-09-101-9/+9
| | | | getstate and setstate are instance methods, same as encode and reset. (cherry picked from commit 30644dee0c14af6c1c61d44166a97cec8245300b)
* [3.6] Clarify nature of parse_args 'args' argument. (GH-3292) (GH-3325)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)
* [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)Miss Islington (bot)2017-09-091-1/+1
| | | (cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)
* [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444)Christian Heimes2017-09-081-2/+26
| | | | | | | | | | | | | | | | * 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)
* [3.6] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated ↵Miss Islington (bot)2017-09-071-1/+3
| | | | | | newlines. (GH-3272) (GH-3429) Also provide a solution if the user wants to keep multiple blank lines. (cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
* [3.6] bpo-30096: Use ABC in abc reference examples (GH-1220) (GH-3408)Miss Islington (bot)2017-09-071-24/+39
| | | | Use base class rather than metaclass in examples. (cherry picked from commit 122e88a8354e3f75aeaf6211232dac88ac296d54)
* [3.6] bpo-22635: subprocess.getstatusoutput doc update. (GH-3398) (#3411)Miss Islington (bot)2017-09-071-7/+12
| | | | | | The `subprocess.getstatusoutput` API was inadvertently changed in Python 3.3.4. Document the change, it is too late to undo the API change now as it has shipped in many stable releases. (cherry picked from commit 738b7d9766e1a794aaaabfba0d515a467ba833ca)
* [3.6] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3399)Miss Islington (bot)2017-09-071-0/+6
| | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
* [3.6] link to legacy doc on the non-legacy website (GH-3362) (#3368)Benjamin Peterson2017-09-061-1/+1
| | | (cherry picked from commit 60dbed18509f99af8eaa685d9736f954b8d621fb)
* [3.6] Added effect of re.ASCII and reworded slightly (GH-1782) (#3313)Gregory P. Smith2017-09-041-3/+5
| | | (cherry picked from commit c9d6dbc2900ace9564b8f67e63617be747355c6b)
* [3.6] remote note about IRIX in aifc (#3304)Benjamin Peterson2017-09-041-6/+0
| | | | This comment hasn't been true since Python 3.0. (cherry picked from commit b84efddb9a87d515029bac943812b66eb3486eb5)
* [3.6] bpo-26656: Improve re.compile documentation (GH-3211) (GH-3225)Mariatta2017-08-281-3/+4
| | | | | - Link to the regular expressions object documentation - Clarify that it can be used with more than the two methods currently stated. (cherry picked from commit ed94a8b2851914bcda3a77b28b25517b8baa91e6)
* bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) (GH-3224)Mariatta2017-08-271-2/+2
| | | (cherry picked from commit 143be366295038b36fc32c44b8e1b48a375eab56)
* [3.6] bpo-30714: ALPN changes for OpenSSL 1.1.0f (#3093)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)
* [3.6] Improve grammar in asyncio documentation (GH-2993) (GH-2994)Mariatta2017-08-031-1/+1
| | | | | "not only is it .." is the correct form, as opposed to: "not only it is ..." (cherry picked from commit 87c3c5de731af18a271f4559cd69ccb8d050208f)
* [3.6] bpo-30803: clarify truth value testing documentation (GH-2508) (#2946)Terry Jan Reedy2017-07-291-19/+14
| | | | Initial patch by Peter Thomassen. (cherry picked from commit caa1280)
* Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2940)Mariatta2017-07-291-1/+1
| | | (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
* Add the link to asyncio source code in the docs (GH-2373) (GH-2884)Mariatta2017-07-268-3/+23
| | | (cherry picked from commit 627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88)
* bpo-26506: hex() documentation: mention %x % int (GH-2525) (GH-2870)Mariatta2017-07-251-10/+52
| | | (cherry picked from commit 67ba4fa467ffff825d6a0c0a21cc54ff1df2ed1b)
* [3.6] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2778)Mariatta2017-07-201-1/+1
| | | (cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
* Doc that 'sorted' args are keyword-only, fix 'reverse' default (#2709)Łukasz Rogalski2017-07-142-2/+2
| | | backport
* [3.6] bpo-29933: Improve set_write_buffer_limits description (GH-2262) (GH-2532)Kojo Idrissa2017-07-021-1/+7
| | | | | Improve the description of the high and low parameters for set_write_buffer_limits. Also fixed a small grammatical issue. (cherry picked from commit 5200a7c7f9ea65a96330c5f276f4acc6ec70854e)
* fix some reference to Unicode 8 that should be to Unicode 9 (#2346)Benjamin Peterson2017-06-231-1/+1
|
* [3.6] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2337)Mariatta2017-06-231-1/+1
| | | | When a class and its subclass are present, the latter is skipped. (cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
* [3.6] bpo-29755: Fixed the lgettext() family of functions in the gettext ↵Serhiy Storchaka2017-06-201-81/+80
| | | | | | | | module. (GH-2266) (#2297) They now always return bytes. Updated the gettext documentation.. (cherry picked from commit 26cb4657bcc9a7adffa95798ececb588dddfeadb)
* [3.6] bpo-30420: List cwd parameter in subprocess convenience APIs (GH-1685) ↵Mariatta2017-06-201-4/+4
| | | | | | | | | | | | | (GH-2253) Partially clarify the subprocess convenience API documentation by explicitly listing the `cwd` parameter in their abbreviated signatures. While this has been merged as an improvement, it doesn't fully resolve the issue, as the `cwd` should also be covered in the "Frequently Used Arguments" section, and the fact these APIs pass unlisted keyword arguments down to the lower level APIs is currently still unclear. (cherry picked from commit 368cf1d20630498ca7939069a05d744fabb570aa)
* bpo-30176: Add missing curses cell attributes constants (GH-1302). (GH-2241)Mariatta2017-06-161-9/+45
| | | (cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
* bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) ↵Mariatta2017-06-141-1/+1
| | | | | (GH-2195) (cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
* [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178)terryjreedy2017-06-141-0/+44
| | | | When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies. (cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134)
* [3.6] Mention how to disable signal fd wakeup (GH-2140) (#2149)Antoine Pitrou2017-06-131-2/+4
| | | (cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
* bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2136)Marco Buttu2017-06-121-0/+2
| | | (cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
* backport ssl doc fixes (#2117)Benjamin Peterson2017-06-111-2/+2
| | | | | | | | * clarify recv() and send() on SSLObject (#2100) SSLObject has recv() and send(), but they don't do any network io. * remove extra word (#2101)