summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37149: Replace dead link for online Tkinter reference (GH-14616)Miss Islington (bot)2019-07-081-2/+2
| | | | | | Also fix a name misspelling. (cherry picked from commit 45bc61b97178b27ae05bd3eb95481bf0325795bb) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.7] bpo-37440: Enable TLS 1.3 post-handshake auth in http.client ↵Miss Islington (bot)2019-07-011-0/+5
| | | | | | | | | | | | | | | (GH-14448) (GH-14496) Post-handshake authentication is required for conditional client cert authentication with TLS 1.3. https://bugs.python.org/issue37440 (cherry picked from commit d1bd6e79da1ee56dc1b902d804216ffd267399db) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37440
* Improve Windows commands in tutorial (GH-14401)Steve Dower2019-07-011-6/+4
|
* bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)Miss Islington (bot)2019-06-181-15/+20
| | | | | | | | | | For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional. This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true. bpo-34903 (cherry picked from commit 6b9c204ee77a0de87d6f51a3d4547a18604cef9e) Co-authored-by: Mike Gleen <mike.gleen@gmail.com>
* bpo-5680: IDLE: Customize running a module (GH-13763)Miss Islington (bot)2019-06-171-1/+15
| | | | | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu. (cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)Miss Islington (bot)2019-06-171-1/+4
| | | | | | | Measure required height by quickly maximizing once per screen. A search for a better method failed. (cherry picked from commit 5bff3c86ab77e9d831b3cd19b45654c7eef22931) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-37194: Complete PyObject_CallXXX() docs (GH-14156) (GH-14158)Victor Stinner2019-06-171-6/+13
| | | | | | Mention explicitly that PyObject_CallXXX() functions raise an exception an failure. (cherry picked from commit 1ce2656f13e726b3b99d4c968926908cff1f460a)
* bpo-28805: document METH_FASTCALL (GH-14079)Miss Islington (bot)2019-06-161-12/+51
| | | | | (cherry picked from commit 5600b5e1b24a3491e83f1b3038a7ea047a34c0bf) Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
* 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-152-0/+20
| | | | | | * [3.7] Doc: Add an optional obsolete header. (GH-13638). (cherry picked from commit 46ed90dd014010703c7a3b2a61c4927644fa8210) Co-authored-by: Julien Palard <julien@palard.fr>
* Update weakref.rst (GH-14098)Miss Islington (bot)2019-06-151-5/+6
| | | | | (cherry picked from commit f475729a714a9fb13672f8989c4abbafb783e09b) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* Update concurrent.futures.rst (GH-14061)Miss Islington (bot)2019-06-141-6/+8
| | | | | | | | | This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation: * the mention that `Future.cancel` also returns `False` if the call finished running; * the mention of the states for `Future` that did not complete: pending or running. (cherry picked from commit 431478d5d74d880692817323198b9605af972fa5) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985)Miss Islington (bot)2019-06-111-4/+4
| | | | | | Python 3.6 changed the size of bytecode instruction, while the documentation for `EXTENDED_ARG` was not updated accordingly. (cherry picked from commit 405f648db7c44b07348582b5101d4716e0ce5ac3) Co-authored-by: Yao Zuo <laike9m@users.noreply.github.com>
* [3.7] bpo-37216: Fix version and filename in Mac using document (GH-13963)Makdon2019-06-111-2/+2
|
* Stop using deprecated logging API in Sphinx suspicious checker (GH-9875)Miss Islington (bot)2019-06-081-4/+6
| | | | | (cherry picked from commit ee171a26c1169abfae534b08acc0d95c6e45a22a) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* [3.7] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() ↵Zackery Spytz2019-06-071-2/+4
| | | | | | | (GH-13860) (GH-13896) (cherry picked from commit dc2476500d91082f0c907772c83a044bf49af279) Co-authored-by: Zackery Spytz <zspytz@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>
* bpo-30699: Improve example on datetime tzinfo instances (GH-4290)Miss Islington (bot)2019-06-041-51/+60
| | | | | | | | | | | | | | | | | | | | | | * Improve example on tzinfo instances Move from GMTX to TZX when naming the classes, as GMT1 might be rather confusing as seen in the reported issue. In addition, move to UTC over GMT and improve the tzname implementation. * Simplify datetime with tzinfo example Move the example in the documentation to just use timezone.utc and a user defined Kabul timezone rather than having two user defined timezones with DST. Kabul timezone is still interesting as it changes its offset but not based on DST. This is more accurate as the previous example was missing information about the fold attribute. Additionally, implementing the fold attribute was rather complex and probably not relevant enough for the section "datetime with tzinfo". (cherry picked from commit f0b5ae4567637b24035ecda93a3240efc96b6dd9) Co-authored-by: Mario Corchero <mcorcherojim@bloomberg.net>
* bpo-36868: Fix what's new for SSLContext.hostname_checks_common_name (GH-13248)Miss Islington (bot)2019-06-031-3/+2
| | | | | | | | What's new now mentions SSLContext.hostname_checks_common_name instead of SSLContext.host_flags. https://bugs.python.org/issue36868 (cherry picked from commit 47eb2234061524562a4b484e3a395f4fdd6c1b76) Co-authored-by: Christian Heimes <christian@python.org>
* Doc fix: duplicate object description of email.message (GH-13742)Miss Islington (bot)2019-06-031-0/+1
| | | | | (cherry picked from commit 141da44bb45bc182886303fce92cbbae5631cb4c) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-19184: Update the documentation of dis module. (GH-13652) (GH-13755)Miss Islington (bot)2019-06-031-3/+7
| | | | | | | | | | | | | | | | | * bpo-19184: Update the documentation of dis module * Explain the behavior of the number of arguments of RAISE_VARGARGS opcode. * bpo-19184: Update blurb. * bpo-19184: Fix typo in the dis Documentation. * bpo-19184: Address review comments and improve the doc * bpo-19184: Remove news file. (cherry picked from commit e1179a5096fb12297ececd7a1c79969aa5747e28) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com>
* bpo-37014: Update docstring and Documentation of fileinput.FileInput(). ↵Miss Islington (bot)2019-06-021-2/+3
| | | | | | | | | | | | | | (GH-13545) (GH-13753) * bpo-37014: Update docstring and Documentation of fileinput.FileInput() * Explain the behavior of fileinput.FileInput() when reading stdin. * Update blurb. * bpo-37014: Fix typo in the docstring and documentation. (cherry picked from commit aca273e2401ca3151e15e984f400233b7f255e15) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com>
* Improve version added references in `typing` module docs (GH-13457)Miss Islington (bot)2019-06-011-4/+18
| | | | | (cherry picked from commit b7daabd711274a009e70556020efeae502a85f0b) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* Doc: Correct the creation year and the credits of the Logo Programming ↵Miss Islington (bot)2019-06-011-2/+2
| | | | | | | language (GH-13520) (cherry picked from commit 66501058fef76a5d77e6879f6da3282f0a9eef1b) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* bpo-18911: clarify that the minidom XML writer receives texts but not bytes ↵Miss Islington (bot)2019-06-011-5/+6
| | | | | | | (GH-13718) (cherry picked from commit 5ac0b988fd5f1428efe35329c531c7b5c74d37f6) Co-authored-by: Windson yang <wiwindson@outlook.com>
* bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354)Miss Islington (bot)2019-05-311-0/+5
| | | | | (cherry picked from commit a747c3a5edf21fa5670bc30f5e1d804de89ebf62) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-25735: math.factorial doc should mention integer return type (GH-6420)Miss Islington (bot)2019-05-311-1/+1
| | | | | (cherry picked from commit 4612671df2742eade8ecf8003a6ce1247973c135) Co-authored-by: Akshay Sharma <akshay.sharma09695@gmail.com>
* bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)Miss Islington (bot)2019-05-311-4/+12
| | | | | | | | Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094 (cherry picked from commit ffed76b6fc4d7dd0244b662d6e5738eb496d9def) Co-authored-by: Makdon <makdon@makdon.me>
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Miss Islington (bot)2019-05-301-5/+6
| | | | | (cherry picked from commit 2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8) Co-authored-by: Antti Haapala <antti@haapala.name>
* bpo-36794: Document that Lock.acquire is fair. (GH-13082)Miss Islington (bot)2019-05-291-0/+7
| | | | | | https://bugs.python.org/issue36794 (cherry picked from commit 34f4f5efea730504216ee19f237734e0bb0104ee) Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com>
* bpo-36739: Update controlflow.rst (GH-12983)Miss Islington (bot)2019-05-281-3/+5
| | | | | | | in addition to global-statement also mention nonlocal-statement (in the paragraph describing access to variables which are non local to a function (cherry picked from commit e1f95e77e0647aff602e0660ba3c282b71045875) Co-authored-by: pbhd <p-bauer-schriesheim@t-online.de>
* bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132) ↵Miss Islington (bot)2019-05-281-0/+4
| | | | | | | | (GH-13643) Co-Authored-By: brianquinlan <brian@sweetapp.com> (cherry picked from commit 39889864c09741909da4ec489459d0197ea8f1fc) Co-authored-by: Brian Quinlan <brian@sweetapp.com>
* Docs: FIX broken links. (GH-13491)Miss Islington (bot)2019-05-287-15/+18
| | | | | (cherry picked from commit 7114c6504a60365b8b0cd718da0ec8a737599fb9) Co-authored-by: Julien Palard <julien@palard.fr>
* [3.7] Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635) (GH-13637)karl ding2019-05-281-1/+1
| | | | | There is an extra "one" in the text description for the constant socket.CAN_RAW_FD_FRAMES (cherry picked from commit 1b05aa219041eb1c9dbcb4ec6c1fa5b20f060bf5)
* Doc: Add missing forward reference in the tutorial. (GH-13499)Miss Islington (bot)2019-05-281-3/+3
| | | | | (cherry picked from commit 51ddab8dae056867f3595ab3400bffc93f67c8d4) Co-authored-by: Julien Palard <julien@palard.fr>
* Doc: Space breaking whole definition. (GH-13615)Miss Islington (bot)2019-05-281-1/+1
| | | | | (cherry picked from commit 0811f2d81a12a3415dc2cb2744b41520c48d4db5) Co-authored-by: Julien Palard <julien@palard.fr>
* Remove outdated time.monotonic reference (GH-13264)Miss Islington (bot)2019-05-281-2/+1
| | | | | | Per ae58649, time.monotonic is always available, making the old note outdated. (cherry picked from commit 293e9f86b8d10fcd88d6a2015babae76e9a8bd8f) Co-authored-by: Brad <brad.solomon.1124@gmail.com>
* Fix broken :ref: in asyncio docs (GH-11805)Miss Islington (bot)2019-05-271-1/+1
| | | | | (cherry picked from commit 5033e315d28d54a41bcd987d04e6e6453d5b275f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-37039: IDLE - zoomheight fixes (GH-13576)Miss Islington (bot)2019-05-271-5/+5
| | | | | | | Move doc entry to match menu and refactor zoom function. A followup patch will include a blurb. (cherry picked from commit df9b032f47e4edaf306d95449370e565ee470018) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37051: Refine note on what objects are hashable (GH-13587) (GH-13595)Miss Islington (bot)2019-05-271-2/+4
| | | | | (cherry picked from commit cc1c582f6fe450ce1c7de849137039e9b5fab8eb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not ↵Miss Islington (bot)2019-05-242-8/+12
| | | | | | | | handled (GH-7778) ``_thread.interrupt_main()`` now avoids setting the Python error status if the ``SIGINT`` signal is ignored or not handled by Python. (cherry picked from commit 608876b6b1eb59538e6c29671a733033fb8b5be7) Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
* bpo-36797: Reduce levels of indirection in outdated distutils docs (GH-13462)Miss Islington (bot)2019-05-234-9/+14
| | | | | (cherry picked from commit e788057a9188ff37e232729815dfda2529079420) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
* bpo-36829: Enhance PyErr_WriteUnraisable() (GH-13487)Victor Stinner2019-05-221-0/+2
| | | | | | | | | | | | PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a strong reference to sys.stderr while using it. Document that an exception must be set when calling PyErr_WriteUnraisable(), but don't add an assertion to check it at runtime. Cleanup: use longer names for variables and create write_unraisable_exc_file() subfunction.
* [3.7] bpo-19376: Added doc mentioning `datetime.strptime()` without a year ↵Tal Einat2019-05-211-0/+4
| | | | | | | fails for Feb 29. (GH-10243) (cherry picked from commit 56027ccd6b9dab4a090e4fef8574933fb9a36ff2) Co-authored-by: Abhishek Kumar Singh <toanant@users.noreply.github.com>
* [3.7] bpo-22865: Expand on documentation for the pty.spawn function ↵Geoff Shannon2019-05-211-4/+25
| | | | | | | (GH-11980) (GH-13455) (cherry picked from commit 522ccef8690970fc4f78f51a3adb995f2547871a) Co-authored-by: Geoff Shannon <earthlingzephyr@gmail.com>
* bpo-36958: In IDLE, print exit message (GH-13435)Miss Islington (bot)2019-05-201-0/+3
| | | | | | | Print any argument other than None or int passed to SystemExit or sys.exit(). (cherry picked from commit 6d965b39b7a486dd9e96a60b19ee92382d668299) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)Miss Islington (bot)2019-05-2026-19/+52
| | | | | | | | The sqlite3.Connection object doesn't call its close() method when it's used as a context manager. (cherry picked from commit 287b84de939db47aa8c6f30734ceb8aba9d1db29) Co-authored-by: Xtreak <tir.karthi@gmail.com>
* Orthographical fix (GH-13418)Miss Islington (bot)2019-05-191-1/+1
| | | | | | Add a missing comma. (cherry picked from commit 1d5bdef550d4395211fbe5f3c1444d7ea5bb54a2) Co-authored-by: Boštjan Mejak <bostjan.xperia@gmail.com>
* bpo-36783: Add new references for C API Documentation changes (GH-13204)Miss Islington (bot)2019-05-182-6/+23
| | | | | (cherry picked from commit d28772ab6967fea136c0707f0207673ebad66f61) Co-authored-by: Edison A <20975616+SimiCode@users.noreply.github.com>
* Fixed typo (GH-11522)Miss Islington (bot)2019-05-181-2/+2
| | | | | | | | | | | | Given example does not run, loop variable is missing. Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.` Perhaps it would be better to cancel all tasks instead of closing loop directly? Did not create issue, because question is quite simple. (cherry picked from commit ceb842e155f5fa0109fa88d52da3d1f5e73490ad) Co-authored-by: Alexander Vasin <hi@alvass.in>