summaryrefslogtreecommitdiffstats
path: root/Doc/tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of deprecated `array.fromstring` method (GH-17332)Miss Islington (bot)2019-11-261-1/+1
| | | | | (cherry picked from commit 386d00cc341b549800776b906bfc6b20ea40c7db) Co-authored-by: David Coles <coles.david@gmail.com>
* [3.7] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17128)Serhiy Storchaka2019-11-121-2/+2
| | | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>". (cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
* bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16954)Miss Skeleton (bot)2019-10-271-0/+1
| | | | | (cherry picked from commit 85c6f8c65cd4f7219522c1f304bdfff19f785e7a) Co-authored-by: Marco Rougeth <marco@rougeth.com>
* bpo-38557: Improve documentation for list and tuple C API. (GH-16925)Miss Skeleton (bot)2019-10-261-0/+1
| | | | | (cherry picked from commit d898d20e8c228229eb68e545f544db13f246f216) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Update doc switcher list for 3.8.0 (GH-16809)Miss Islington (bot)2019-10-151-1/+1
| | | | | (cherry picked from commit 3f36043db22361500f52634f2b8de49dde0e7da9) Co-authored-by: Ned Deily <nad@python.org>
* Doc: 3.8 is now stable. (GH-16790) (GH-16792)Miss Islington (bot)2019-10-141-1/+1
| | | | | (cherry picked from commit 4504b4500d2a1a80c26b27b0bfff8b624d5ce06c) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.7] bpo-38294: Add list of no-longer-escaped chars to re.escape ↵Ricardo Bánffy2019-10-081-0/+1
| | | | | | | | | | documentation. (GH-16442) (GH-16647) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped. (cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c)
* bpo-33187: Document ElementInclude (XInclude) support in ElementTree ↵Miss Islington (bot)2019-09-111-0/+3
| | | | | | | (GH-8861) (GH-15972) (cherry picked from commit 97b817eae34b77be1ced382e15098a112f547848) Co-authored-by: Anjali Bansal <anjali.mca17.du@gmail.com>
* bpo-36853: Fix suspicious.py to actually print the unused rules (#13579) ↵Anthony Sottile2019-09-021-11/+14
| | | | | | | | | (#15653) * Fix suspicious.py to actually print the unused rules * Fix the other `self.warn` calls (cherry picked from commit e1786b54162e2bfb01ca5aafa19d596c4af5a803)
* Doc: Remove an ugly space before a dot. (GH-14123)Miss Islington (bot)2019-06-161-1/+1
| | | | | (cherry picked from commit 552951563cd5968d25e95306362e41f07d661a88) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.7] Doc: Add an optional obsolete header. (GH-13638). (GH-13655)Julien Palard2019-06-151-0/+11
| | | | | | * [3.7] Doc: Add an optional obsolete header. (GH-13638). (cherry picked from commit 46ed90dd014010703c7a3b2a61c4927644fa8210) Co-authored-by: Julien Palard <julien@palard.fr>
* Stop using deprecated logging API in Sphinx suspicious checker (GH-9875)Miss Islington (bot)2019-06-091-4/+6
| | | | | (cherry picked from commit ee171a26c1169abfae534b08acc0d95c6e45a22a) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Doc: Python 3.9 in sidebar and version switcher. (GH-13824)Miss Islington (bot)2019-06-042-2/+4
| | | | | (cherry picked from commit 59e7bbcaa4d0d556591f774c5ea4869c41fa95b0) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.7] Clarify the download unit in the download section (GH-13122) (GH-13130)Miss Islington (bot)2019-05-061-2/+1
| | | | | | (cherry picked from commit e9b49d1b4eec21f2da838db3360f6458cf648c36) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* bpo-36425: Add Simplified Chinese to the language switcher (GH-12537)Miss Islington (bot)2019-03-281-0/+1
| | | | | (cherry picked from commit 45a5fdb91cee665161a8b1980bb4e6ccb999f58f) Co-authored-by: zhsj <zsj950618@gmail.com>
* Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810)Miss Islington (bot)2019-02-101-1/+1
| | | | | (cherry picked from commit 9db56fb8faaa3cd66e7fe82740a4ae4d786bb27f) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file ↵Miss Islington (bot)2018-12-202-3/+23
| | | | | | | (GH-11224) (cherry picked from commit afe17a7bee1bcb39dc56f2949431204918568ac1) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-18085: Update refcounts.dat. (GH-11247)Miss Islington (bot)2018-12-201-1/+1
| | | | | | | | Fixed some errors in refcounts.dat, remove functions removed in Python 3, and add more entries for documented functions. This will add several automatically generated notes about return values. (cherry picked from commit 83dd4e87a62311cfea5fdd37e8a945b6b07bccee) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-31146: Don't fallback switcher to english on not-yet pusblished ↵Miss Islington (bot)2018-11-211-0/+6
| | | | | | | languages. (GH-10558) (cherry picked from commit 6b73bb523a176123a819e4ebac3727d31d861515) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.7] bpo-32613: Update window FAQ (GH-5552). (GH-10544)Julien Palard2018-11-141-1/+1
| | | | | | | | | (cherry picked from commit 64313478bcbd0a708c3ce5d4d14f977da56e4be9) Co-authored-by: Julien Palard <julien@palard.fr> https://bugs.python.org/issue32613
* [3.7] Doc: Make all versions sidebars the same for consistency. (GH-10288) ↵Julien Palard2018-11-081-2/+3
| | | | (GH-10409)
* bpo-35015: Doc: Fix internationalisation of the availability directive. ↵Miss Islington (bot)2018-11-071-3/+4
| | | | | | | (GH-10360) (cherry picked from commit beed84ca5e0f2784d758478d4e7c81c9c1088c4e) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-35075: Fix broken url in the pprint documentation (GH-10201)Miss Islington (bot)2018-11-011-1/+9
| | | | | | https://bugs.python.org/issue35075 (cherry picked from commit bf46a09dec372b85846216bd692d648dac08ac36) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type ↵Miss Islington (bot)2018-10-161-5/+3
| | | | | | | (GH-9827) (cherry picked from commit e385d0661ecf8bc9ba95c4395d9a11262c2cbfec) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* [3.7] bpo-11233: Create availability directive for documentation (GH-9692) ↵Cheryl Sabella2018-10-152-11/+32
| | | | | | | | | | | (GH-9830) Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org> (cherry picked from commit 2d6097d027e0dd3debbabc702aa9c98d94ba32a3) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758)Miss Islington (bot)2018-10-081-0/+39
| | | | | | | | Let .chm document display non-ASCII characters properly Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems. (cherry picked from commit 6261ae9b01fb8429b779169f8de37ff567c144e8) Co-authored-by: animalize <animalize@users.noreply.github.com>
* bpo-34733: Return of the docs search bar (GH-9431)Yury Selivanov2018-09-191-16/+108
| | | | Partially revert changes to Doc/tools/templates/layout.html accidentally committed in 512d7101098b971837cbb406942215244f636547.
* bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)Miss Islington (bot)2018-09-181-0/+21
| | | | | | Co-authored-by: Elvis Pranskevichus <elvis@magic.io> (cherry picked from commit 471503954a91d86cf04228c38134108c67a263b0) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377)Yury Selivanov2018-09-171-108/+24
|
* 3.7.0 finalv3.7.0Ned Deily2018-06-272-2/+2
|
* bpo-13631: Fix the order of initialization for readline libedit on macOS. ↵Miss Islington (bot)2018-05-171-0/+2
| | | | | | | | | (GH-6915) (GH-6928) The editline emulation needs to be initialized *after* the name is defined. This fixes the long open issue. (cherry picked from commit c2f082e9d164acfa8f96de9526f0f47ae92c426a) Co-authored-by: Zvezdan Petkovic <zpetkovic@acm.org>
* bpo-33378: Add Korean to the language switcher. (GH-6627)Miss Islington (bot)2018-04-281-0/+1
| | | | | (cherry picked from commit 577948329976985ea9bef23d9a6c3dd7108211bf) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* fix pydoc-topics to work with Sphinx 1.7 (GH-6475)Miss Islington (bot)2018-04-171-4/+8
| | | | | | In fact, we now require a newer Sphinx version because APIs have moved around. (cherry picked from commit acfb087f9f5590e5174a30eced3c2fe911f49d70) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-32924: Fix the Show Source url in the docs. (GH-5835)Mariatta2018-02-231-1/+1
| | | | The Show Source link in Python 3.7 docs is pointing to GitHub's master branch. It should point to the 3.7 branch.
* bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473)Miss Islington (bot)2018-02-232-5/+8
| | | | | (cherry picked from commit 0febc053736112d7bb9081742b3ac0ece7b973e7) Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
* Update Doc build for split off of 3.7 branchNed Deily2018-01-313-2/+4
|
* bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458)Nick Coghlan2018-01-081-4/+15
| | | | | | | | | | | | | - primary change is to add a new default filter entry for 'default::DeprecationWarning:__main__' - secondary change is an internal one to cope with plain strings in the warning module's internal filter list (this avoids the need to create a compiled regex object early on during interpreter startup) - assorted documentation updates, including many more examples of configuring the warnings settings - additional tests to ensure that both the pure Python and the C accelerated warnings modules have the expected default configuration
* bpo-32230: Set sys.warnoptions with -X dev (#4820)Victor Stinner2017-12-121-0/+3
| | | | | | | | | | | | | | Rather than supporting dev mode directly in the warnings module, this instead adjusts the initialisation code to add an extra 'default' entry to sys.warnoptions when dev mode is enabled. This ensures that dev mode behaves *exactly* as if `-Wdefault` had been passed on the command line, including in the way it interacts with `sys.warnoptions`, and with other command line flags like `-bb`. Fix also bpo-20361: have -b & -bb options take precedence over any other warnings options. Patch written by Nick Coghlan, with minor modifications of Victor Stinner.
* bpo-30349: Raise FutureWarning for nested sets and set operations (#1553)Serhiy Storchaka2017-11-161-1/+1
| | | | in regular expressions.
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-081-9/+9
| | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB.
* bpo-31766: restore 3.5 to docs version switchers (#3969)Ned Deily2017-10-122-1/+3
|
* bpo-30406: Make async and await proper keywords (#1669)Jelle Zijlstra2017-10-061-3/+3
| | | Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
* Remove retired and security branches from active docs (#3879)Ned Deily2017-10-042-4/+0
|
* Docs: correct hashlib.blake2 keyed hashing example (bpo-31560)Dmitry Chestnykh2017-09-231-3/+0
|
* Prevent a few make suspicious warnings. (#3341)Ned Deily2017-09-051-0/+2
|
* Blurbify master branch. (#3298)larryhastings2017-09-041-3/+0
| | | Blurbify master branch.
* Fix broken `Show Source` links on documentation pages (GH-3113)Elmar Ritsch2017-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"
* Update the language selection in the docs language switch. (GH-3114)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.
* bpo-31159: fix language switch regex on unknown yet built languages. (#3039)Julien Palard2017-08-091-2/+2
| | | | | | 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.
* bpo-31149: Doc: Add Japanese to the language switcher. (#3028)Julien Palard2017-08-081-0/+1
|