summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Typo fix - "mesasge" should be "message" (GH-22498)Miss Skeleton (bot)2020-10-041-2/+2
| | | | | | | | | | | | * Correct at 2 places in email module (cherry picked from commit 9cd01ece78e63bf98a1d25f70d5a020adf07ca4a) Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
| * [3.9] Remove duplicated words words (GH-22298). (GH-22299)Serhiy Storchaka2020-10-042-3/+3
| | | | | | | | (cherry picked from commit 27201cddf3b25be7df25bbe36966531539757d60)
| * [3.9] Remove duplicated words words (GH-20413). (GH-22296)Serhiy Storchaka2020-10-045-5/+5
| | | | | | | | (cherry picked from commit 1c5d1d7304a119040fd3118128bdb412f0cce6a6)
| * [doc] Use list[int] instead of List[int] (etc.) in a few more places (GH-22524)Miss Skeleton (bot)2020-10-042-8/+8
| | | | | | | | | | | | | | | | This changes a few occurrences left behind by GH-22340. Automerge-Triggered-By: @gvanrossum (cherry picked from commit 7f54e563dc150cd670ca8df678437455c3a7f2cd) Co-authored-by: Andre Delfino <adelfino@gmail.com>
| * [doc] Fix link to abc.collections.Iterable (GH-22520)Miss Skeleton (bot)2020-10-041-2/+2
| | | | | | | | | | | | | | | | Missed this occurrence before, sorry. Also changed "the PEP" to "PEP". Automerge-Triggered-By: @gvanrossum (cherry picked from commit 3fe614893742faee3c64e6d974e11329a496424f) Co-authored-by: Andre Delfino <adelfino@gmail.com>
| * [3.9] bpo-41867: List options for timespec in docstrings of isoformat ↵Miss Skeleton (bot)2020-10-042-6/+12
| | | | | | | | | | | | | | methods (GH-22418) (cherry picked from commit 52301312bb9de2299b0c42468fd1936d869e651c) Co-authored-by: Ram Rachum <ram@rachum.com>
| * [3.9] bpo-40833: Clarify Path.rename doc-string regarding relative paths ↵Miss Skeleton (bot)2020-10-042-5/+22
| | | | | | | | | | | | | | (GH-20554) (cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf) Co-authored-by: Ram Rachum <ram@rachum.com>
| * [doc] Fix link to abc.collections.Iterable (GH-22502)Miss Skeleton (bot)2020-10-041-1/+1
| | | | | | | | | | | | Automerge-Triggered-By: @gvanrossum (cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737) Co-authored-by: Andre Delfino <adelfino@gmail.com>
| * bpo-41802: Document 'PyDict_DelItem' can raise a 'KeyError' (GH-22291)Miss Islington (bot)2020-10-041-4/+6
| | | | | | | | | | (cherry picked from commit 20ce62f00957d11f24f6449cd5c0ef5dd67174d4) Co-authored-by: Campbell Barton <ideasman42@gmail.com>
| * Fix grammar in secrets module documentation (GH-22467)Miss Islington (bot)2020-10-041-1/+1
| | | | | | | | | | | | From `In particularly,` to `In particular,` (cherry picked from commit 63298930fb531ba2bb4f23bc3b915dbf1e17e9e1) Co-authored-by: Max Smolens <msmolens@users.noreply.github.com>
| * [doc] Leverage the fact that the actual types can now be indexed for typing ↵Miss Islington (bot)2020-10-042-30/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-22340) This shows users that they can use the actual types. Using deprecated types is confusing. This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place. This should be backported to 3.9. Automerge-Triggered-By: @gvanrossum (cherry picked from commit d9ab95ff1fe81efdf70e545d536d9f6927d1ba81) Co-authored-by: Andre Delfino <adelfino@gmail.com>
| * bpo-41858: Clarify line in optparse doc (GH-22407)Miss Islington (bot)2020-10-041-1/+1
| | | | | | | | | | | | The existing line is easily read as being incomplete. (cherry picked from commit 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
| * bpo-41844: Add IDLE section to What's New 3.9 (GN-22382)Miss Islington (bot)2020-10-041-0/+14
| | | | | | | | | | (cherry picked from commit 22b7616f26694ac707fd53ece500febfad665426) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
| * bpo-35293: Travis CI uses "make venv" for the doc (GH-22307) (GH-22309)Victor Stinner2020-10-043-8/+12
| | | | | | | | | | | | | | | | | | | | Doc/requirements.txt becomes the reference for packages and package versions needed to build the Python documentation. * Doc/Makefile now uses Doc/requirements.txt * .travis.yml now uses "make env" of Doc/Makefile * Update Sphinx to version 2.4.4 (cherry picked from commit 8394500cca56490cc347604d39ca40abcdce46c3)
| * bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)Miss Islington (bot)2020-10-048-69/+70
| | | | | | | | | | | | | | | | | | | | Use an unique identifier for the different grammars documented using the Sphinx productionlist markup. productionlist markups of the same grammar, like "expressions" or "compound statements", use the same identifier "python-grammar". (cherry picked from commit 8af239eacfcf52e4e0e2b0223e7cea4672309483) Co-authored-by: Victor Stinner <vstinner@python.org>
| * [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)Terry Jan Reedy2020-10-041-0/+5
| | | | | | | | | | (cherry picked from commit a33f2c2bae759fc9d06e1c032fd2026135f2df45) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | bpo-41774: Tweak new programming FAQ entry (GH-22562)Miss Skeleton (bot)2020-10-051-1/+1
| | | | | | | | | | | | Remove mention of space in "remove multiple items from list". (cherry picked from commit 060937da988347a887a5f165b023d972fcb97802) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) (GH-22560)Miss Skeleton (bot)2020-10-052-3/+4
| | | | | | | | | | | | (cherry picked from commit 9a7642667a71a27b38b96eb63df45f17f48b3467) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* | bpo-41892: Clarify that an example in the ElementTree docs explicitly avoids ↵Miss Skeleton (bot)2020-10-041-0/+6
| | | | | | | | | | | | | | | | | | modifying an XML tree while iterating over it. (GH-22464) (GH-22554) (cherry picked from commit 40db798692ca783fc2163656f196ac77e8b9e792) Co-authored-by: scoder <stefan_ml@behnel.de> Co-authored-by: scoder <stefan_ml@behnel.de>
* | [3.9] bpo-41909: Enable previously disabled recursion checks. (GH-22536) ↵Serhiy Storchaka2020-10-054-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-22550) Enable recursion checks which were disabled when get __bases__ of non-type objects in issubclass() and isinstance() and when intern strings. It fixes a stack overflow when getting __bases__ leads to infinite recursion. Originally recursion checks was disabled for PyDict_GetItem() which silences all errors including the one raised in case of detected recursion and can return incorrect result. But now the code uses PyDict_GetItemWithError() and PyDict_SetDefault() instead. (cherry picked from commit 9ece9cd65cdeb0a1f6e60475bbd0219161c348ac)
* | Typo fix (GH-22496)Miss Skeleton (bot)2020-10-041-5/+5
| | | | | | | | | | | | | | | | Multiple typo fixes in code comments Automerge-Triggered-By: @Mariatta (cherry picked from commit 619f98045d73859688e5cfdb946d183e6d493a64) Co-authored-by: Manan Kumar Garg <62146744+MananKGarg@users.noreply.github.com>
* | [3.9] bpo-41490: Bump vendored pip to version 20.2.3 (GH-22527). (GH-22544)Pablo Galindo2020-10-042-17/+14
| | | | | | | | | | (cherry picked from commit 2cc6dc9896771ef3615abbb5ba80939a2f644a08) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* | Delete extra 'the' from `Formatter` class docstring (GH-22530) (GH-22542)Miss Skeleton (bot)2020-10-041-1/+1
| | | | | | (cherry picked from commit a619af43ccd10bab363b1e59814a2e2727422545)
* | bpo-41898: add caveat on root logger seeing all messages in assertLogs doc ↵Miss Skeleton (bot)2020-10-041-1/+2
| | | | | | | | | | (GH-22526) (GH-22540) (cherry picked from commit 1ed54435268b285964141fb74d47ceaa33ea79ab)
* | [doc] Use list[int] instead of List[int] (etc.) in a few more places (GH-22524)Miss Skeleton (bot)2020-10-032-8/+8
| | | | | | | | | | | | | | | | This changes a few occurrences left behind by GH-22340. Automerge-Triggered-By: @gvanrossum (cherry picked from commit 7f54e563dc150cd670ca8df678437455c3a7f2cd) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* | [3.9] bpo-41840: Report module-level globals as both local and global in the ↵Pablo Galindo2020-10-033-9/+35
| | | | | | | | | | | | | | symtable module (GH-22391). (GH-22528) (cherry picked from commit fb0a4651f1be4ad936f8277478f73f262d8eeb72) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* | [doc] Fix link to abc.collections.Iterable (GH-22520)Miss Skeleton (bot)2020-10-031-2/+2
| | | | | | | | | | | | | | | | Missed this occurrence before, sorry. Also changed "the PEP" to "PEP". Automerge-Triggered-By: @gvanrossum (cherry picked from commit 3fe614893742faee3c64e6d974e11329a496424f) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* | [3.9] bpo-41867: List options for timespec in docstrings of isoformat ↵Miss Skeleton (bot)2020-10-032-6/+12
| | | | | | | | | | | | | | methods (GH-22418) (cherry picked from commit 52301312bb9de2299b0c42468fd1936d869e651c) Co-authored-by: Ram Rachum <ram@rachum.com>
* | [3.9] bpo-40833: Clarify Path.rename doc-string regarding relative paths ↵Miss Skeleton (bot)2020-10-032-5/+22
| | | | | | | | | | | | | | (GH-20554) (cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf) Co-authored-by: Ram Rachum <ram@rachum.com>
* | bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes when a ↵Miss Skeleton (bot)2020-10-033-0/+15
| | | | | | | | | | default namespace was defined. (GH-22474) (GH-22507) (cherry picked from commit 6a412c94b6b68e7e3632562dc7358a12ffd1447f)
* | [doc] Fix link to abc.collections.Iterable (GH-22502)Miss Skeleton (bot)2020-10-021-1/+1
| | | | | | | | | | | | Automerge-Triggered-By: @gvanrossum (cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* | Typo fix - "mesasge" should be "message" (GH-22498)Miss Skeleton (bot)2020-10-021-2/+2
| | | | | | | | | | | | * Correct at 2 places in email module (cherry picked from commit 9cd01ece78e63bf98a1d25f70d5a020adf07ca4a) Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
* | bpo-41802: Document 'PyDict_DelItem' can raise a 'KeyError' (GH-22291)Miss Islington (bot)2020-10-021-4/+6
| | | | | | | | | | (cherry picked from commit 20ce62f00957d11f24f6449cd5c0ef5dd67174d4) Co-authored-by: Campbell Barton <ideasman42@gmail.com>
* | Fix grammar in secrets module documentation (GH-22467)Miss Islington (bot)2020-09-301-1/+1
| | | | | | | | | | | | From `In particularly,` to `In particular,` (cherry picked from commit 63298930fb531ba2bb4f23bc3b915dbf1e17e9e1) Co-authored-by: Max Smolens <msmolens@users.noreply.github.com>
* | bpo-41774: Add programming FAQ entry (GH-22402)Miss Islington (bot)2020-09-282-0/+17
| | | | | | | | | | | | | | In the "Sequences (Tuples/Lists)" section, add "How do you remove multiple items from a list". (cherry picked from commit 5b0181d1f6474c2cb9b80bdaf3bc56a78bf5fbe7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-41875: Use __builtin_unreachable when possible (GH-22433)Miss Islington (bot)2020-09-282-1/+5
| | | | | | | | | | (cherry picked from commit 24ba3b0df5e5f2f237d7b23b4017ba12f16320ae) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* | bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337)Miss Islington (bot)2020-09-283-0/+7
| | | | | | | | | | (cherry picked from commit ff9147d93b868f0e13b9fe14e2a76c2879f6787b) Co-authored-by: Jan Mazur <16736821+mzr@users.noreply.github.com>
* | [doc] Leverage the fact that the actual types can now be indexed for typing ↵Miss Islington (bot)2020-09-272-30/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-22340) This shows users that they can use the actual types. Using deprecated types is confusing. This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place. This should be backported to 3.9. Automerge-Triggered-By: @gvanrossum (cherry picked from commit d9ab95ff1fe81efdf70e545d536d9f6927d1ba81) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* | bpo-41858: Clarify line in optparse doc (GH-22407)Miss Islington (bot)2020-09-261-1/+1
| | | | | | | | | | | | The existing line is easily read as being incomplete. (cherry picked from commit 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
* | bpo-41775: Make 'IDLE Shell' the shell title (GH-22399)Miss Islington (bot)2020-09-243-1/+4
| | | | | | | | | | | | 'Python Shell' may have contributed to some beginners confusing 'IDLE' with ' Python'. (cherry picked from commit 05cc881cbcf5d73a312568c78c7149eae3195072) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | [3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from ↵Łukasz Langa2020-09-243-6/+91
| | | | | | | | | | | | | | | | pymain_run_module (GH-21956) (#22397) Closes bpo issue 41602. (cherry picked from commit a68a2ad19c891faa891904b3da537911cc77df21) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* | bpo-41844: Add IDLE section to What's New 3.9 (GN-22382)Miss Islington (bot)2020-09-231-0/+14
| | | | | | | | | | (cherry picked from commit 22b7616f26694ac707fd53ece500febfad665426) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-33822: Update IDLE section of What's New 3.8 (GH-22383)Miss Islington (bot)2020-09-231-0/+10
| | | | | | | | | | (cherry picked from commit 9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | [3.9] bpo-41841: Prepare IDLE News for 3.9 (GH-22380)Terry Jan Reedy2020-09-231-2/+7
| |
* | bpo-37062: Enum: add extended AutoNumber example (GH-22349) (GH-22370)Miss Islington (bot)2020-09-222-0/+27
| | | | | | | | | | (cherry picked from commit 62e40d8450b9c78346ec3617de7fe3f0ad381510) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* | bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363)Miss Islington (bot)2020-09-224-42/+51
| |
* | fix `EventType` basesMiss Islington (bot)2020-09-222-6/+7
| | | | | | `StrEnum` does not exist in 3.8, so use original `(str, enum.Enum)` bases.
* | bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350)Miss Islington (bot)2020-09-214-9/+8
| | | | | | | | | | | | | | The marker was added to the language in 3.8 and 3.7 only gets security patches. (cherry picked from commit 40a0625792e795cd41c4ba20475e3b770b53817a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)Miss Islington (bot)2020-09-213-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GH- [bpo-41815](): SQLite: fix segfault if backup called on closed database Attempting to backup a closed database will trigger segfault: ```python import sqlite3 target = sqlite3.connect(':memory:') source = sqlite3.connect(':memory:') source.close() source.backup(target) ``` (cherry picked from commit bfee9fad84531a471fd7864e88947320669f68e2) Co-authored-by: Peter McCormick <peter@pdmccormick.com>
* | Fix a compiler warning in pycore_pylifecycle.h (GH-22331)Pablo Galindo2020-09-211-1/+1
| |