summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Remove retired and security branches from active docs (#3881)Ned Deily2017-10-042-4/+0
|
* [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)
* [2.7] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3700)Zachary Ware2017-09-221-4/+8
| | | | Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`. (cherry picked from commit da9b4cfb488119f2493a762fcb1d85c58494f51d)
* bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3676)Christian Heimes2017-09-201-2/+2
| | | (cherry picked from commit 19e4d93)
* bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3609)Michael Seifert2017-09-162-15/+40
| | | (cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
* [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] Issue GH-28705: greatly simplify the FAQ entry on transpiling. (#3371)Benjamin Peterson2017-09-061-44/+5
| | | | This also eliminats a dead link to Weave in the process.. (cherry picked from commit 78ffd6cffacb04bea61bb0ef850d05859ab2dbe4)
* [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN ↵Zachary Ware2017-09-041-3/+14
| | | | | | | | | | | | | | | | | | | (GH-1783) (GH-3306) The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio. Cherry-picked from 51599e2bdd10ab77212a7cbb41a13ea70ee13da8, parts of 40a23e88994aca92c83c8e84ab8b8cdc11d7ec54, parts of 68d663cf85d1ac5eaf83482eed39c0a6f8093601, d5cd21d75a27a377f2f9c8370fd8e8c7efaeefb1, and possibly others that I've missed. Also: * Rename db -> bsddb for disambiguity * Update sqlite3 to 3.14.2.0 since it's the version we use on 3.x, and it's simpler to just use it than to also upload the old version to cpython-source-deps * Add PCbuild/*.ilk to .gitignore
* bpo-31095: Fix potential crash during GC (GH-3197)INADA Naoki2017-09-042-9/+21
| | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c)
* Fix broken `Show Source` links on documentation pages (GH-3113) (GH-3128)Mariatta2017-08-181-1/+1
| | | | | | | The `Show Source` was broken because of a change made in sphinx 1.5.1 In Sphinx 1.4.9, the sourcename was "index.txt". In Sphinx 1.5.1+, it is now "index.rst.txt". (cherry picked from commit b9ff498793611d1c6a9b99df464812931a1e2d69)
* Update the language selection in the docs language switch. (GH-3114) (#3117)Julien Palard2017-08-171-1/+1
| | | | Change the option for `Français` into `French` to be consistent with the other language selections that are already in English. (cherry picked from commit b616b972999cdd5fe54ef8a43c131a27ca538dee)
* [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)
* bpo-31159: fix language switch regex on unknown yet built languages. … ↵Julien Palard2017-08-131-2/+3
| | | | | | | | | | | | | | | | | (#3051) (#3081) * bpo-31159: fix language switch regex on unknown yet built languages. (#3039) This fix a regex issue (a missing non-matching group around an 'or' list) and the specific possible case where a translation is built but not yet in known by the picker, but not explicitly listing possible languages in the regex. (cherry picked from commit 122081deef86174beee965be1207fa46ea23533d) * bpo-31149: Doc: Add Japanese to the language switcher. (#3028) (cherry picked from commit c82b7f332aff606af6c9c163da75f1e86514125e) (cherry picked from commit e8e7fba0b24582959feca9c31f2a72fc0251f83d)
* bpo-31045: Language switch (#2652) (#3024)Julien Palard2017-08-084-71/+151
| | | | | | | | | | | | | | | | | | | * Doc: Indicate the language * Renaming version_switcher to switchers (to add language_switcher). * Adding language switch. * Doc switchers: Enhance readability of regex parsing versions. * Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming. * Doc switchers: py3k can't reach js, it's redirected server-side by nginx. * Doc switchers: Examples matching actual regexes. * Doc switchers: Better fallback on unexisting translated version. (cherry picked from commit dff9b5f9d62aa0b23f8a255867d09d11890efd1b)
* bpo-27470: Improve doc for commandline -3 optionSubhendu Ghosh2017-08-041-1/+3
| | | | | | Mention that it warns about features that are significantly changed in Python 3 and can’t be detected using static code analysis. Link to Porting Python 2 Code to Python 3 doc
* 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] bpo-30964: Mention ensurepip in package installation docs (GH-2795)Nicholas2017-07-211-0/+11
| | | | | | | | Adds a new 'Pip not installed' section that covers running `ensurepip` manually, and also references the relevant section of the Python Packaging User Guide. (cherry picked from commit b3527bfefd7a0188d43a2d7515ac6addd97a8202)
* [2.7] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2780)Mariatta2017-07-201-1/+1
| | | (cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
* Update doc download files size estimates. (#2774)Ned Deily2017-07-201-8/+8
|
* bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2725)Ned Deily2017-07-161-1/+1
| | | (cherry picked from commit 50f58163a69abe2f35e91044d1df165ee7bdbb42)
* 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`
* Remove outdated FOX from GUI FAQ (GH-2538)Berker Peksag2017-07-041-9/+0
| | | | | | | | FXpy doesn't have a Python 3 port and it only supports Python 2.2 and older versions. Reported by Alex Walters on docs@p.o. (cherry picked from commit d3ed2877a798d07df75422afe136b4727e500c99)
* [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
|
* Clarification to the `break` statement (GH-2453) (GH-2459)regexaurus2017-06-281-1/+1
| | | | Clarify that the break statement breaks out of the innermost enclosing for or while loop. (cherry picked from commit 36fc896740319d2c03aa2054a90a999c162517ef)
* [2.7] bpo-30709: Improve code example in Descriptor HowTo doc (GH-2339) ↵Mariatta2017-06-231-3/+3
| | | | | (GH-2340) (cherry picked from commit b066edfb1b268e90ea11f45dd1827f46d7ceec88)
* 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)
* Fix trivial typo in Python Setup documentation (GH-2185) (GH-2190)csabella2017-06-141-1/+1
| | | | Replace platform with platforms. (cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee)
* [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-30621: Update Input Output Tutorial Example(GH-2074) (GH-2120)Mariatta2017-06-121-0/+1
| | | | import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
* [2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086)Zachary Ware2017-06-111-124/+124
| | | Also updates checked-in line endings in several files.
* 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] Fix a trivial typo in global section (GH-1497) (GH-1882)Mariatta2017-05-311-1/+1
| | | (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
* [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-224-7/+7
|
* [2.7] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1616)Serhiy Storchaka2017-05-166-10/+11
| | | | | | | | * 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)
* bpo-11681: Document the `-b` and `-bb` options (GH-1562)Zachary Ware2017-05-131-1/+14
|
* Fix warnings due to deprecated latex options (GH-1563)Zachary Ware2017-05-132-18/+16
|
* Update susp-ignored.csv (GH-1564)Zachary Ware2017-05-131-1/+1
|
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-0412-30/+30
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)