summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* [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)
* bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2065)Mariatta2017-06-101-4/+4
| | | | Mention that fnmatchcase does not call normcase, and fnmatch does. (cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
* [3.6] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches ↵Mariatta2017-06-101-5/+10
| | | | | | (GH-1536) (GH-2055) Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex. (cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8)
* bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019)Mariatta2017-06-091-0/+5
| | | (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
* [3.6] bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366Nick Coghlan2017-06-091-11/+8
| | | | | | * RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066. (cherry picked from commit 63c2c8ac17750ba2be2cfc4e339cae1f4edee54f)
* bpo-30583: Fix typo in datetime dateutil documentation (GH-1972) (GH-1974)wim glenn2017-06-061-2/+2
| | | | Replace `datetuil` into `dateutil` (cherry picked from commit 53f2af16551eb3a080da313257603c31ef8b93b4)
* bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271) ↵Mariatta2017-06-022-75/+84
| | | | | | | | | | | | | (GH-1915) Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.. (cherry picked from commit c6db4811f9ea3aeff0e1fafe1c60a22835ef359e)
* bpo-29660: traceback: Document that etype is ignored in some places. ↵Matthias Bussonnier2017-06-021-3/+11
| | | | | (GH-344) (GH-1913) (cherry picked from commit cdb89cd)
* bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1905)Mariatta2017-06-011-3/+1
| | | (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
* bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1897)Mariatta2017-06-011-9/+9
| | | | | | | | 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)
* bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) (GH-1894)csabella2017-06-011-2/+3
| | | (cherry picked from commit 56ddfd2eea4d98456a9a99bf2a718f21ee6b2be2)
* [3.6] bpo-30470: Deprecate invalid ctypes call protection on Windows. ↵Mariatta2017-05-271-14/+6
| | | | | | (GH-1810) (GH-1833) Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7. (cherry picked from commit f931fd1c2ad969db72460d3ab41e3d1a4a62c371)
* [3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830)Serhiy Storchaka2017-05-271-3/+3
| | | | Also document that some attributes may be None. (cherry picked from commit 12d6b5d)
* [3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1828)Serhiy Storchaka2017-05-271-1/+1
| | | | Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38)
* [3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793)Zachary Ware2017-05-241-1/+2
| | | | | | | The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. (cherry picked from commit a083c8e)
* [3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746)Kushal Das2017-05-231-8/+8
| | | (cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408)