| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
* Correct at 2 places in email module
(cherry picked from commit 9cd01ece78e63bf98a1d25f70d5a020adf07ca4a)
Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
|
| |
| |
| |
| | |
(cherry picked from commit 27201cddf3b25be7df25bbe36966531539757d60)
|
| |
| |
| |
| | |
(cherry picked from commit 1c5d1d7304a119040fd3118128bdb412f0cce6a6)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
methods (GH-22418)
(cherry picked from commit 52301312bb9de2299b0c42468fd1936d869e651c)
Co-authored-by: Ram Rachum <ram@rachum.com>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-20554)
(cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf)
Co-authored-by: Ram Rachum <ram@rachum.com>
|
| |
| |
| |
| |
| |
| | |
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 20ce62f00957d11f24f6449cd5c0ef5dd67174d4)
Co-authored-by: Campbell Barton <ideasman42@gmail.com>
|
| |
| |
| |
| |
| |
| | |
From `In particularly,` to `In particular,`
(cherry picked from commit 63298930fb531ba2bb4f23bc3b915dbf1e17e9e1)
Co-authored-by: Max Smolens <msmolens@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(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>
|
| |
| |
| |
| |
| |
| | |
The existing line is easily read as being incomplete.
(cherry picked from commit 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf)
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 22b7616f26694ac707fd53ece500febfad665426)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
(cherry picked from commit a33f2c2bae759fc9d06e1c032fd2026135f2df45)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Remove mention of space in "remove multiple items from list".
(cherry picked from commit 060937da988347a887a5f165b023d972fcb97802)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 9a7642667a71a27b38b96eb63df45f17f48b3467)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(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)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 2cc6dc9896771ef3615abbb5ba80939a2f644a08)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
| |
| | |
(cherry picked from commit a619af43ccd10bab363b1e59814a2e2727422545)
|
| |
| |
| |
| |
| | |
(GH-22526) (GH-22540)
(cherry picked from commit 1ed54435268b285964141fb74d47ceaa33ea79ab)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
symtable module (GH-22391). (GH-22528)
(cherry picked from commit fb0a4651f1be4ad936f8277478f73f262d8eeb72)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
methods (GH-22418)
(cherry picked from commit 52301312bb9de2299b0c42468fd1936d869e651c)
Co-authored-by: Ram Rachum <ram@rachum.com>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-20554)
(cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf)
Co-authored-by: Ram Rachum <ram@rachum.com>
|
| |
| |
| |
| |
| | |
default namespace was defined. (GH-22474) (GH-22507)
(cherry picked from commit 6a412c94b6b68e7e3632562dc7358a12ffd1447f)
|
| |
| |
| |
| |
| |
| | |
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit d4b9edd5052a2d9ae3d2be69975cc933afb37737)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
| |
| |
| |
| |
| |
| | |
* Correct at 2 places in email module
(cherry picked from commit 9cd01ece78e63bf98a1d25f70d5a020adf07ca4a)
Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 20ce62f00957d11f24f6449cd5c0ef5dd67174d4)
Co-authored-by: Campbell Barton <ideasman42@gmail.com>
|
| |
| |
| |
| |
| |
| | |
From `In particularly,` to `In particular,`
(cherry picked from commit 63298930fb531ba2bb4f23bc3b915dbf1e17e9e1)
Co-authored-by: Max Smolens <msmolens@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 24ba3b0df5e5f2f237d7b23b4017ba12f16320ae)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit ff9147d93b868f0e13b9fe14e2a76c2879f6787b)
Co-authored-by: Jan Mazur <16736821+mzr@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(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>
|
| |
| |
| |
| |
| |
| | |
The existing line is easily read as being incomplete.
(cherry picked from commit 00eb063b6600fdb4ba5cfb99da83cc1660ec69bf)
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
|
| |
| |
| |
| |
| |
| | |
'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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
pymain_run_module (GH-21956) (#22397)
Closes bpo issue 41602.
(cherry picked from commit a68a2ad19c891faa891904b3da537911cc77df21)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 22b7616f26694ac707fd53ece500febfad665426)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 9c4eac7f02ddcf32fc1cdaf7c08c37fe9718c1fb)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| | |
|
| |
| |
| |
| |
| | |
(cherry picked from commit 62e40d8450b9c78346ec3617de7fe3f0ad381510)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
|
| | |
|
| |
| |
| | |
`StrEnum` does not exist in 3.8, so use original `(str, enum.Enum)` bases.
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|