Commit Graph

106168 Commits

Author SHA1 Message Date
Łukasz Langa 87ca11be3b
Post 3.8.6 2020-09-24 12:32:56 +02:00
Łukasz Langa e1e6a8ef9a Python 3.8.6
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl9rQW8ACgkQsmmV4xAl
 BWhUqA//TA8BDtUp4v5AiBzUl3oBRqcNbQMkaTwB7w3g+rla1S5bC/SjBoO8K7jP
 ++Id+Y+wdGLsd6pvMfauWcxHC9dS8J080kS5tBoqGv8QPXSBqUGNnR0ya/b5mTQX
 GUIXcUe6GZ6GsI3MRSmaQ0jgSLDcW06O/TGJIpVYTxV/S1auVROA3DjQvPmObxf2
 MityVK7EtNjI65RiM6Oexxps6oYFbqTtbPQMc7y3AwgNK8su1GvLBY6pjuvGv/x/
 9ZpHz3Q6QI5pT1Di0w1W88utel1KuC/uoKiV4xvnsGuG1PVQesQ/GMLiNoEim21/
 jt24hwRkdad39vnbC8D1BhUvFi9VvKaLQLQyfBnCjLAXnGpq5BCtymKVv8mMAmtI
 6QTsQaAZvl7hiIQmIrUbBv1kku8hyeqxLl3vzXZXk7sfA0BBGQbpAinEEtc7TwAz
 237bJu21+rUy3wVqDH1SdYCuAtG/udrm8W2Se2s7TA5xwN2fcvaR7Gj3w7j3hmW0
 x+v9ZUFjWoNHw66p16O2yIkTPWa37MgCPLqcA2i0TOBwNzadGx2h+XNaMWzTLF1D
 Zk0yKfV+k51g8vejv2bP5YmtUVsvWy8XAFmwmTJVIr10I5a9TadhI+US5+tKQIlv
 Uz/IVs4+L3/S1rteMM9QgEwdjaPmjXkquDogVl9cCOP15vySi2o=
 =zBy3
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCAAuFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl9sdcwQHGx1a2FzekBs
 YW5nYS5wbAAKCRCyaZXjECUFaMgoD/9Qv++u0vRWCgNUfzAlNyAjy8CR7F3iYtfF
 bMancL26DT8EiM3MULlr7VkTTa4WLRp5/ogr0Fuju+TdK8eKG9C/d6lBC9b08ASu
 KW7bgzp5AVjqQYMJUMSCazzEs8TaBXw/kxCmOGArfs5KwqT+HnFpQap+0Ln3+D2h
 fvclvCzYqaaPWEg6ylJ50AeWPl2Sfyus4HizZWjtuAnZK1znYLOhE9AUImy4aCLH
 MatpcvjLpCtNff5F5qLrtSQDm4B24S6QHja5kpAT8GGjch0Zrt8lbnaAnvS4r+gL
 mwFsnZ/tm3xHIsKlZtayBPwXZFncCjwqnbyy7+8pPdn9Gzp++gBAyxP0e/jNfFtH
 XQtti5NTBPXqW2JyJkMr89sWuFrky0yhnXc7uqJS33CNKRWjRY1FCJAFeDPSL/yG
 XmDxftmAFFJJhv5xQhMlPs3ZxqzwOVDiQxKwfQtmNNGzH433Tpp8/EI57Ho4L57n
 ZZNTvcZkhAJVPZ448J39QIfevrpbdIpfVL2rcw2ySMdm+7T96PquuUeX+VAD9EIG
 ML86hg8UP5iDCd70EU6kmK4wibMcUzdv3WywNJ1Lz9+hAWP64O6A/vZ5ccdiPjaZ
 0ANwrDxBlmBAzXvyIeHS5W4qK/4lOueeAj9QhhtwEFc3fTX9MWVg26Qr7AGi81zT
 qmpp65WfXQ==
 =v4xV
 -----END PGP SIGNATURE-----

Merge tag 'v3.8.6' into 3.8

Python 3.8.6
2020-09-24 12:32:42 +02:00
Miss Islington (bot) e678ca960b
bpo-33822: Update IDLE section of What's New 3.8 (GH-22383)
(cherry picked from commit 9c4eac7f02)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-23 08:28:08 -07:00
Terry Jan Reedy 0a2e11aecf
[3.8] bpo-41841: Prepare IDLE News for 3.8.7 (GH-22381) 2020-09-23 10:34:56 -04:00
Łukasz Langa db455296be
Python 3.8.6 2020-09-23 14:36:32 +02:00
Miss Islington (bot) 5acc1b5f0b
bpo-37062: Enum: add extended AutoNumber example (GH-22349) (GH-22369)
(cherry picked from commit 62e40d8450)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-22 20:57:48 -07:00
Miss Islington (bot) 2466a7ae6b
bpo-35764: Rewrite the IDLE Calltips doc section (GH-22363)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-22 14:36:02 -04:00
Miss Islington (bot) 6d372ef194
fix `EventType` bases
`StrEnum` does not exist in 3.8, so use original `(str, enum.Enum)` bases.
2020-09-22 11:30:47 -07:00
Miss Islington (bot) 7bcbb536dd
bpo-40181: Remove '/' reminder in IDLE calltips. (GH-22350)
The marker was added to the language in 3.8 and
3.7 only gets security patches.
(cherry picked from commit 40a0625792)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-21 23:02:45 -07:00
Miss Islington (bot) ca2d99d091
bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
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 bfee9fad84)

Co-authored-by: Peter McCormick <peter@pdmccormick.com>
2020-09-21 15:00:34 -07:00
Miss Islington (bot) 488e3eb70d
bpo-41811: create SortKey members using first given value (GH-22316) (GH-22326)
(cherry picked from commit ae0d2a33ec)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-19 12:56:30 -07:00
Victor Stinner 3acc403f21
bpo-35293: Travis CI uses "make venv" for the doc (GH-22307) (GH-22309) (GH-22310)
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 8394500cca)
(cherry picked from commit 9e73cac173)
2020-09-18 17:21:24 +02:00
Miss Islington (bot) b7cdea8f08
bpo-35293: Remove RemovedInSphinx40Warning (GH-22198)
* bpo-35293: Remove RemovedInSphinx40Warning

* Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst

Co-authored-by: Victor Stinner <vstinner@python.org>

* bpo-35293: Apply Victor's review

Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit 6595cb0af4)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2020-09-18 02:31:30 -07:00
Miss Islington (bot) c5cddc17b5
bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) (GH-22300)
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 8af239eacf)

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-09-18 10:31:28 +02:00
Serhiy Storchaka 038688a53b
[3.8] Remove duplicated words words (GH-20413). (GH-22297)
(cherry picked from commit 1c5d1d7304)
2020-09-18 09:37:04 +03:00
Ethan Furman 5efb1a77e7
[3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283)
fix default `_missing_` to return `None` instead of raising a `ValueError`
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>.
(cherry picked from commit c95ad7a91f)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-16 17:38:14 -07:00
Miss Islington (bot) 007eddad3b
_auto_called cleanup (GH-22285)
(cherry picked from commit fc23a9483e)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-16 17:28:32 -07:00
Miss Islington (bot) 3f4012117b
bpo-41517: do not allow Enums to be extended (GH-22271)
fix bug that let Enums be extended via multiple inheritance
(cherry picked from commit 3064dbf5df)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-16 07:30:54 -07:00
Miss Islington (bot) 929112ef81
bpo-41789: honor object overrides in Enum classes (GH-22250)
EnumMeta double-checks that `__repr__`, `__str__`, `__format__`, and `__reduce_ex__` are not the same as `object`'s, and replaces them if they are -- even if that replacement was intentionally done in the Enum being constructed.  This patch fixes that.

Automerge-Triggered-By: @ethanfurman
(cherry picked from commit 22415ad625)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-15 17:16:36 -07:00
Miss Islington (bot) 8f8ebcca95
bpo-39587: Enum - use correct mixed-in data type (GH-22263)
(cherry picked from commit bff01f3a3a)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-15 16:23:57 -07:00
Miss Islington (bot) 5fdc142597
Improve the description of difflib in the documentation (GH-22253) (GH-22260)
From "can produce difference information in various formats ..."
to " can produce information about file differences in various formats ..."

Automerge-Triggered-By: @Mariatta
(cherry picked from commit 5531269f69)

Co-authored-by: Mandeep <mandeep052@gmail.com>
2020-09-15 12:45:29 -07:00
Miss Islington (bot) a0da90720d
bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) (GH-22256)
Revise example of "continue" in the tutorial documentation
(cherry picked from commit 7bcc6456ad)

Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>

Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>
2020-09-15 09:56:43 -04:00
Miss Islington (bot) 624cc10ee4
bpo-40721: add note about enum member name case (GH-22231)
* UPPER_CASE preferred as enum members are constants
(cherry picked from commit 542e1df2b0)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2020-09-14 13:42:38 -07:00
Miss Islington (bot) b007a9be6f
bpo-41744: Package python.props with correct name in NuGet package (GH-22154)
NuGet automatically includes .props file from the build directory in the
target using the package, but only if the .props file has the correct
name: it must be $(id).props

Rename python.props correspondingly in all the nuspec variants. Also
keep python.props as it were for backward compatibility.
(cherry picked from commit 7c11a9acca)

Co-authored-by: Václav Slavík <vaclav@slavik.io>
2020-09-14 12:47:40 -07:00
Miss Islington (bot) 3c618d0a07
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)
(cherry picked from commit 7dbbea75ce)

Co-authored-by: Ned Deily <nad@python.org>
2020-09-13 22:38:20 -07:00
Miss Islington (bot) d09bead939
bpo-41778: Change a punctuation on documentation. (GH-22229) (GH-22230)
On this paragrapah the clarification about IIS7 seems there's not
connection beacuase is in other sentence. Move the punctuation
to connect both the last sentence with the information in the
parenthesis.

I think the NEWS is not necessary here.

Automerge-Triggered-By: @ericvsmith
(cherry picked from commit 94bfdee25d)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
2020-09-13 17:21:49 -04:00
Ethan Furman 38c8d3930e
[3.8] bpo-37479: Enum - use correct __format__ (GH-14545)
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__.
(cherry picked from commit 2f19e82fbe)

Co-authored-by: thatneat <thatneat@users.noreply.github.com>
2020-09-13 13:47:43 -07:00
Miss Islington (bot) bf50b0e80a
bpo-33239: Fix default value of 'buffering' parameter in docs of tempfile.* functions (GH-21763) (GH-22226)
(cherry picked from commit b48389d950)
2020-09-13 19:16:39 +01:00
Miss Islington (bot) 3a150c77c3
bpo-41672: Fix type mismatches in imaplib docs (GH-22207) (#22218)
(cherry picked from commit c75330605d)

Co-authored-by: Norbert Cyran <cyran.norbert97@gmail.com>

Co-authored-by: Norbert Cyran <cyran.norbert97@gmail.com>
2020-09-12 20:04:50 +09:00
Miss Islington (bot) 530d1105ed
bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197)
Fix a race condition in the call_soon_threadsafe() method of
asyncio.ProactorEventLoop: do nothing if the self-pipe socket has
been closed.
(cherry picked from commit 1b0f0e3d7d)

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-09-12 00:09:54 -07:00
Miss Islington (bot) 77901dc6c3
bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206)
Argument script_exec_args is usually an absolute file name,
but twice has form ['-m', 'module_name'].
(cherry picked from commit 7e711ead26)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-11 23:43:27 -07:00
Miss Islington (bot) bbab34084e
bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
The problems occured with a repository build on machine
with freshly updated Windows 10 Pro.
(cherry picked from commit 31c9828ec0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-11 23:09:08 -07:00
Miss Islington (bot) e4c6947024
[doc] struct: update note about network byte order form to be more helpful (GH-22201)
Update the sentence to provide some context on why network byte order is defined as big endian.
(cherry picked from commit fb27187203)

Co-authored-by: Stargirl Flowers <theaflowers@google.com>
2020-09-11 08:29:04 -07:00
Miss Islington (bot) 8a30bdd21d
bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188) (#22193)
The new link responds much faster and begins with a short explanation of the status of the doc.
(cherry picked from commit 06d0b8b67e)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2020-09-10 16:21:35 -04:00
Miss Islington (bot) e3d0e9bab9
[doc] Remove superfluous comment about equal in f-strings (GH-22006)
Automerge-Triggered-By: @kushaldas
(cherry picked from commit 788b79fa7b)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-09-09 23:41:13 -07:00
Miss Islington (bot) 9133b01b58
Update idlelib/help.html to current IDLE doc (GH-22181)
(cherry picked from commit 471247150e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-09-09 16:10:09 -07:00
Miss Islington (bot) d423aa8e95
Add missing colon to IDLE doc markup (GH-22007)
(cherry picked from commit 7a797a3967)

Co-authored-by: Andre Delfino <adelfino@gmail.com>

Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-09-09 18:34:20 -04:00
Miss Islington (bot) 4c4c354de2
[3.8] [3.9] bpo-41688: Document bug in **= dispatching in the language data… (GH-22172) (GH-22175)
(cherry picked from commit 46bc21e178)


Co-authored-by: Ammar Askar <ammar@ammaraskar.com>

Automerge-Triggered-By: @brettcannon
2020-09-09 11:15:49 -07:00
Miss Islington (bot) 778a9b2c55
Fixes dead links to Django's logging config docs (GH-20823) (GH-22171)
(cherry picked from commit 714217f956)
2020-09-09 14:40:41 +01:00
Miss Islington (bot) 23d3681671
Fix compiler warnings in init_dump_ascii_wstr() (GH-22150)
Fix GCC 9.3 (using -O3) warnings on x86:

initconfig.c: In function ‘init_dump_ascii_wstr’:
initconfig.c:2679:34: warning: format ‘%lc’ expects argument of type
‘wint_t’, but argument 2 has type ‘wchar_t’ {aka ‘long int’}
 2679 |             PySys_WriteStderr("%lc", ch);
initconfig.c:2682:38: warning: format ‘%x’ expects argument of type
‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’}
 2682 |             PySys_WriteStderr("\\x%02x", ch);
initconfig.c:2686:38: warning: format ‘%x’ expects argument of type
‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’}
 2686 |             PySys_WriteStderr("\\U%08x", ch);
initconfig.c:2690:38: warning: format ‘%x’ expects argument of type
‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’}
 2690 |             PySys_WriteStderr("\\u%04x", ch);
(cherry picked from commit 640e8e1d5f)

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-09-09 03:26:32 -07:00
Miss Islington (bot) 9171dc2827
bpo-41525: Make the Python program help ASCII-only (GH-21836)
(cherry picked from commit 58de1dd6a8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-09-08 17:46:41 -07:00
Miss Islington (bot) 68bc6792b4
[3.8] [doc] Fix padding in timeit (GH-22152) (GH-22159)
Compare -p and -u options help in rendered output to see the difference.
(cherry picked from commit 594f0ce73b)


Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-09-08 16:57:11 -07:00
Mariatta 7799dd38e7
[3.8] Fix typo in typing.py (GH-22121) (GH-22158)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references.
(cherry picked from commit 84ef33c511)

Co-authored-by: Graham Bleaney <gbleaney@gmail.com>

Automerge-Triggered-By: @Mariatta
2020-09-08 16:28:02 -07:00
Łukasz Langa 3cb5073773
Post 3.8.6rc1 2020-09-08 11:39:14 +02:00
Łukasz Langa 7c6dc8517e Python 3.8.6rc1
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl9WV1gACgkQsmmV4xAl
 BWhaFA/+MhK/h03WVVmcmK53W3aU70AHhLLlRhftYSxN6hUgEYWt8VFupOtD8947
 56RDjlpDKxeRiErjxT2ymLCdkiLCbXSfVD2aKY2H76370On4SKMjAB2VcPa2dsA9
 cw8HPjc3CzXxSYBz1+aKc5OJsw+Bv+T+7wlfbJSlzSnP3E71Ny/Esko5bVqzwj1B
 cUT6y0Pt+Vwb0lJQEDtVaPGRNqBuJjc6yi0EScz0WIXQlBR+eialYMHb8IbNGsrR
 2FT2K8gktXltpfsMSb2eInj6YaZNsshNwoCyCuT2iPC+482i4m3U20oNWhlPxL0G
 +159C9fGTrJ4uFu2CC85CWjB2lZQ6ArB/odsdfixlaQOruGkVMWQBCF2bvYaJqqT
 n80n6tzfhIYVcV8SpjrdkrsurmUTcwdZN2WTdZLBE6S5c8O/XEYgvSOoy6f2E/aH
 IYlQrZrBlnyBctgHFNYnACetIcsyYByqH6XehLHzLIvoY4ncJTLoDPCJrg/opRw7
 zgIYFBK2Bf8GlG6tdmi50+uD+8VIK8YkeH7RgE3X7SW55xzA6xyXPUIf5TNHCHCe
 4hsy7oFj4pxogGx1NvJ6jpThang0EHMsubVICT4Ieej56ye7R8hHQ8rHPxRSveVD
 IqhmZmDjai2xx3DaTV5wfNqEsDPzOgOlgZJVr5R4Tefe0z4PEs8=
 =Fzio
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCAAuFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl9XUS4QHGx1a2FzekBs
 YW5nYS5wbAAKCRCyaZXjECUFaMx/EACO5v/JZDPrw3yREKhPXvAUZH3+AtAeKT+C
 SLm4cD1UzzI2JwgO62N3ilVAQ43xw2eCV6DvOmPGKI+Bn4KVRlNAjD63WEfYm8WB
 RseLVTih1eumTAVHlMj1zv3TN8XQOPg9vNtwx4GI7WF+b66v912orJBw6zYEiInm
 MtNNfPMzNBgc6WPRrMOTwNd7eXwPo+VvUWtneryLKtdIa6tREubLW6qjFCjTqSzn
 S5y1VuBoEbTpUVwDYChexdErEzHJ84jJ46gow0D/0j2pUcU9Huw08zN/Ztb0eElM
 0v64m/WGJ5Y8se1BDPBE9aFdn20l32ANKE3pLwopiuhjZU3rS/fJvjSxdLNn/49a
 Y7Jvib4SfWTb87qOv2f0hzZTrx1xB1UYplljaXFPeD6DsrkrHm2YgqytGuE0768X
 9tAInVlLWQ0MCxO0OeyVJpV0Mi2NapG+hqRY3UlRcsLQdoK9grMZxTdyCqGJcYCK
 CyiL13etXP6kHsAa6PwgxTCL/HyE25ZgRyc0ZVEolELx3eGZR9UyQg/l8KJpOLQI
 tMnTMIxuoLzPEBvFtHHp7L7/V11OmWl4ojW8Vl3thYbXGScjtHVEXh4GRm0dT1br
 VigswpqDx+Njj/XqNUanZo59rtWiLB6b5b6z0y4JvPxF3BX6GFRRsUOO8ILUENma
 bf0QNqrN1Q==
 =/G5i
 -----END PGP SIGNATURE-----

Merge tag 'v3.8.6rc1' into 3.8

Python 3.8.6rc1
2020-09-08 11:38:51 +02:00
Miss Islington (bot) ebef6c0b50
bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092)
(cherry picked from commit fd4cafd470)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-09-07 09:28:04 -07:00
Łukasz Langa 08bd63da6e
Python 3.8.6rc1 2020-09-07 17:52:19 +02:00
Victor Stinner 84105cbaa3
bpo-41401: Fix test_fspath_support in test_io. (GH-21640) (GH-22133) (GH-22135)
The error is exposed on non-UTF-8 locales.

(cherry picked from commit 67987acd5d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit c73ee5acc9)
2020-09-07 17:27:03 +02:00
Miss Islington (bot) 4e581d64b8
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
(cherry picked from commit 5371a464ce)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2020-09-05 20:47:17 -07:00
Pablo Galindo 6ae61959ec
bpo-41654: Explicitly cast PyExc_MemoryError to PyTypeObject to avoid warning (GH-22102) 2020-09-05 17:07:54 +01:00