summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (GH-96798)Miss Islington (bot)2022-09-131-1/+1
| | | | | | Discovered in https://github.com/python/typeshed/pull/8733 (cherry picked from commit bf5fd492524f1b630a60c98eff8fe5fa66603b54) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.10] gh-96702: Order methods before attrs in sqlite3.Connection docs ↵Erlend E. Aasland2022-09-131-97/+95
| | | | | | | (GH-96703). (#96789) (cherry picked from commit 49cceeb5c998a51bb12b7dbde17b53647bb52113) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94972: document that shield users need to keep a reference to their task ↵Miss Islington (bot)2022-09-102-5/+14
| | | | | | | | | (GH-96724) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> (cherry picked from commit 6281affee6423296893b509cd78dc563ca58b196) Co-authored-by: Hendrik Makait <hendrik.makait@gmail.com>
* [3.10] gh-88287: Add BufferingFormatter documentation. (GH-96608) (GH-96674)Miss Islington (bot)2022-09-081-0/+29
|
* [doc] Update example in traceback doc (GH-96600) (GH-96605)Irit Katriel2022-09-071-15/+11
| | | | | | This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health. Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit c4999f261fb0cb28ef713b48ef2e81ca5a3eb1e1)
* [3.10] gh-84095: Fill documentation gap regarding user-defined objects. ↵Vinay Sajip2022-09-051-1/+20
| | | | (GH-… (GH-96576)
* Docs: alphabetically order sqlite3.Cursor attrs (GH-96565)Miss Islington (bot)2022-09-041-30/+31
| | | | | (cherry picked from commit 9e5568578234f0ecd003247c8a2deaeb69976b4b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-68163: Correct conversion of Rational instances to float (GH-25619) ↵Miss Islington (bot)2022-09-041-3/+6
| | | | | | | | | | | | (GH-96557) * gh-68163: Correct conversion of Rational instances to float Also document that numerator/denominator properties are instances of Integral. Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 8464b754c4168586b99e2135ccd2567e025625a9) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553)Miss Islington (bot)2022-09-041-7/+0
| | | | | | Per mdickinson@'s comment on the main branch PR. (cherry picked from commit 69bb83c2bf254f92491d527ccec1ff41897add56) Co-authored-by: Gregory P. Smith <greg@krypto.org>
* doc typo: spell limitation (GH-96542)Miss Islington (bot)2022-09-041-1/+1
| | | | | (cherry picked from commit af6359dd5c5e20adec12501aaa6074716c316e41) Co-authored-by: Mehrdad Moradizadeh <mhrddmoradii@gmail.com>
* [3.10] gh-89087: Update logging.QueueHandler documentation to clarify ↵Miss Islington (bot)2022-09-031-0/+14
| | | | record… (GH-96527) (GH-96529)
* bpo-30419: DOC: Update missing information in bdb docs (GH-1687)Miss Islington (bot)2022-09-021-58/+123
| | | | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Martin Panter <vadmium@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ccce9b77e1f599e05425eadc0cc372d142fe05e0) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501)Gregory P. Smith2022-09-025-13/+239
| | | | | | | | | | | | | | | | | Integer to and from text conversions via CPython's bignum `int` type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds. This PR comes fresh from a pile of work done in our private PSRT security response team repo. This backports https://github.com/python/cpython/pull/96499 aka 511ca9452033ef95bc7d7fc404b8161068226002 Signed-off-by: Christian Heimes [Red Hat] <christian@python.org> Tons-of-polishing-up-by: Gregory P. Smith [Google] <greg@krypto.org> Reviews via the private PSRT repo via many others (see the NEWS entry in the PR). <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> I wrote up [a one pager for the release managers](https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y/edit#).
* gh-96168: Improve sqlite3 dict_factory example (GH-96457)Miss Islington (bot)2022-09-011-18/+9
| | | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 91f40f3f78d6016a283989e32ec3d1fb61bcebca) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
* [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (#96453)Erlend E. Aasland2022-08-311-12/+307
| | | | | | * [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (cherry picked from commit f7e7bf161aaec5a5cffdcec7c97e1f09e445421b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Docs: normalise sqlite3 placeholder how-to heading (GH-96413)Miss Islington (bot)2022-08-301-2/+2
| | | | | (cherry picked from commit 7b01ce7953c0e24aa7aeaf207216fc9e7aefd18a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Docs: Improve clarity for bytes.hex() (GH-95257)Miss Islington (bot)2022-08-301-3/+4
| | | | | (cherry picked from commit 860fa351452de1502da12ec6f027d3f72dfc309f) Co-authored-by: Tim Burke <tim.burke@gmail.com>
* [3.10] gh-91305: Add a note about DatagramHandler and DNS latency. ↵Miss Islington (bot)2022-08-301-0/+7
| | | | (GH-96380) (GH-96400)
* [3.10] Docs: normalize SQL style in sqlite3 docs (GH-96403). (#96409)Erlend E. Aasland2022-08-301-6/+6
| | | | | (cherry picked from commit 6d403e264a7dcd1544a91708f139c6dd8612204d) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-95432: Add doctests for the sqlite3 docs (GH-96225) (#96379)Erlend E. Aasland2022-08-291-44/+88
| | | | | | | | | | As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces. (cherry picked from commit bf9259776dff5348bc854983409ea68618c1f174) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)Miss Islington (bot)2022-08-261-0/+2
| | | | | (cherry picked from commit 0319cd6825f3c247a875c91493a38992fb33a5b3) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)Miss Islington (bot)2022-08-261-1/+1
| | | | | (cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.10] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). ↵Miss Islington (bot)2022-08-251-0/+6
| | | | (GH-94803) (GH-96261)
* GH-96179: Fix misleading example on the bisect documentation (GH-96228)Miss Islington (bot)2022-08-241-1/+1
| | | | | | The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960. (cherry picked from commit 4317b25a2323ae4be04574e45de0e335c571c463) Co-authored-by: prego <pedropregueiro@gmail.com>
* gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost ↵Miss Islington (bot)2022-08-241-0/+2
| | | | | | | (gh-96231) (cherry picked from commit 09563a764ebc54f98087c128419f46cf0822b4b7) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.10] gh-94635: Frame sqlite3 how-to headings as such & move default ↵Erlend E. Aasland2022-08-241-43/+45
| | | | | | | | | adapters to reference (GH-96136) (#96227) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit 6bda5b85b53443f3467865fbf85cbe72932e7cd6) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134)Miss Islington (bot)2022-08-231-4/+14
| | | | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit d6259c58cbb48b8f3fbd70047f004ea19fe91e86) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-95432: Add doctest for sqlite3 tutorial (GH-96193)Miss Islington (bot)2022-08-231-16/+47
| | | | | (cherry picked from commit 04c73e5efbfea8ae9da5bd518cee96086017ef4f) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)Miss Islington (bot)2022-08-221-56/+18
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 18b1782192f85bd26db89f5bc850f8bee4247c1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
* gh-96098: Clearly link concurrent.futures from threading & multiprocessing ↵Miss Islington (bot)2022-08-212-1/+23
| | | | | | | | | | docs (GH-96112) Clearly link concurrent.futures from threading & multiprocessing docs Also link directly to asyncio from the beginning of the threading docs. (cherry picked from commit bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
* Docs: Fix markup of module name in sqlite3 docs (GH-96115)Miss Islington (bot)2022-08-191-3/+3
| | | | | (cherry picked from commit ee9f22d3464308566c63e972133ebf71b7664baa) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Doc: Use consistent markup for example Point class in sqlite3 (GH-96095)Miss Islington (bot)2022-08-191-3/+3
| | | | | (cherry picked from commit 303ef0913e5b80adbe63def41829bff5effab6a0) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: group sqlite3.Connection attributes and methods (GH-96090)Miss Islington (bot)2022-08-191-39/+37
| | | | | (cherry picked from commit 1a140af40b7204faf7896b67b8ef5af200427565) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94635: Remove sqlite3 doc introduction heading (GH-96089)Miss Islington (bot)2022-08-191-3/+0
| | | | | (cherry picked from commit ede771cdf90431d4db22f98e35f43888842f231e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.10] Docs: Escape lone stars in sqlite3 docs (GH-96081). (#96085)Erlend E. Aasland2022-08-181-2/+2
| | | | | (cherry picked from commit 91afe66707237558d808aeca4683d0822aa0511e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-95271: Rework sqlite3 tutorial (GH-95749)Miss Islington (bot)2022-08-181-50/+138
| | | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit c87ea10fc91f040822ab3eed2d08b073861360f6) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94439: typing docs: Add minimum version to `__required_keys__` and ↵Miss Islington (bot)2022-08-131-0/+5
| | | | | | | `__optional_keys__` (GH-95373) (cherry picked from commit f235178beccf5eb5b47e770240f32d9ba24b26fd) Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
* gh-82180: Document support for non-integer arg removed from grp.getgrgid in ↵Miss Islington (bot)2022-08-121-3/+2
| | | | | | | 3.10 (GH-95346) (GH-95930) (cherry picked from commit 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-92412: Clarify the documentation on library/syslog (GH-92587) (GH-95266)Miss Islington (bot)2022-08-121-3/+7
| | | | | (cherry picked from commit b7ce4625fe2a8a4d6c1db6b39b52c7f97d384caa) Co-authored-by: Nicolas Haller <nicolas@haller.im>
* [3.10] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) (#95918)Erlend E. Aasland2022-08-121-8/+16
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit e6623e7083ce08a247e5df169bcc749f99327823) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-75510: Edit idlelib entry in doc (GH-95869)Miss Islington (bot)2022-08-111-3/+6
| | | | | | Make section instead of subsection and revise sentence. (cherry picked from commit 9af4aed73af0accffd26176c09aa263b68c8ca5d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix documentation typo for functools.cmp_to_key (GH-95766) (#95777)Miss Islington (bot)2022-08-101-1/+1
|
* gh-75500: Add idlelib section to IDLE doc (GH-95832)Miss Islington (bot)2022-08-091-0/+17
| | | | | | This enables accessing IDLE as 'idlelib' in the Doc Module listing. (cherry picked from commit 70fc9641b56144854777aef29c145cd10789e3df) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95767: Fix grammatical error in asyncio loop.create_task docs (GH-95768)Miss Islington (bot)2022-08-091-1/+1
| | | | | (cherry picked from commit 141f2517fc36cc7a0caf177f270edb6d39cf3d23) Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
* [3.10] gh-95273: Reorganize sqlite3 doc module level funcs and vars ↵Erlend E. Aasland2022-08-081-124/+121
| | | | | | | | | (GH-95626) (#95803) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 41c939cb35cda395388a775156c367676efffebe) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94635: Fixup sqlite3 'Introduction' seealso note (GH-95751)Miss Islington (bot)2022-08-061-12/+12
| | | | | | | In gh-95269, the seealso note incorrectly ended up in the 'Tutorial' section. (cherry picked from commit 56af5a200d60e86a8ac450264729d693053275e3) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-89362: Doc IDLE menu and search (GH-95697)Miss Islington (bot)2022-08-051-17/+25
| | | | | | | | Update menu item position and capitalization. Add paragraph about search. For help.html, include save-as addition. (cherry picked from commit 834064c19a110dad425dc290c91c0545eaa24471) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112) ↵Miss Islington (bot)2022-08-051-9/+8
| | | | | | | (GH-95515) (cherry picked from commit d29e279de38e7bc3b7deda573ba23d65831d9351) Co-authored-by: markus-sus <73822103+markus-sus@users.noreply.github.com>
* GH-95685: Fix rendering of the string documentation (GH-95686) (GH-95701)Miss Islington (bot)2022-08-051-0/+1
| | | | | | | | There's an extra underlines that messed the rest of the documentation rendering. Closes #95685 (cherry picked from commit a525f2ada407d6677bf8ca708f104694de0525e4) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* gh-65802: IDLE - explain SaveAs and extensions (GH-95690)Miss Islington (bot)2022-08-051-2/+5
| | | | | | | | File name extensions may or may not be shown for the current name and are added in an OS-dependent manner if not given for the new name. (cherry picked from commit 9890f86ae2001d19e7a18fee5b13aa0dd6069aef) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>