]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Raymond Hettinger [Thu, 6 May 2021 14:43:13 +0000 (07:43 -0700)]
Eliminate duplicated calculations and unnecessary work for linear regression (GH-25922)
Christian Heimes [Thu, 6 May 2021 14:30:12 +0000 (16:30 +0200)]
bpo-38820: Test with OpenSSL 3.0.0-alpha16 (GH-25942)
Also use new make target to install FIPS provider.
Dong-hee Na [Thu, 6 May 2021 14:10:52 +0000 (23:10 +0900)]
bpo-44017: Update test_contextlib_async not to emit DeprecationWarn (GH-25918)
Senthil Kumaran [Wed, 5 May 2021 22:50:05 +0000 (15:50 -0700)]
bpo-43882 Remove the newline, and tab early. From query and fragments. (GH-25921)
Gen Xu [Wed, 5 May 2021 22:42:41 +0000 (15:42 -0700)]
bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25916)
Fixes http.client potential denial of service where it could get stuck reading lines from a malicious server after a 100 Continue response.
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Gregory P. Smith [Wed, 5 May 2021 20:55:33 +0000 (13:55 -0700)]
bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-25927)
Contributed-By: Matthias Klose
Automerge-Triggered-By: GH:tiran
Alfred Perlstein [Wed, 5 May 2021 17:33:17 +0000 (10:33 -0700)]
bpo-35753: Fix crash in doctest with unwrap-able functions (#22981)
Ignore objects that inspect.unwrap throws due to
too many wrappers. This is a very rare case, however
it can easily be surfaced when a module under doctest
imports unitest.mock.call into its namespace.
We simply skip any object that throws this exception.
This should handle the majority of cases.
Petr Viktorin [Wed, 5 May 2021 17:32:21 +0000 (19:32 +0200)]
bpo-43795: Mark PyCodec_Unregister as a function, not data, in stable ABI (GH-25920)
Dong-hee Na [Wed, 5 May 2021 17:08:20 +0000 (02:08 +0900)]
typing: format patch with make patchcheck (GH-25919)
Kevin Follstad [Wed, 5 May 2021 08:08:26 +0000 (01:08 -0700)]
bpo-44040: Update broken link in pathlib source (GH-25905)
Brad Larsen [Wed, 5 May 2021 03:41:11 +0000 (23:41 -0400)]
Eliminate duplicated assignment in _randommodule.c (GH-25904)
Raymond Hettinger [Wed, 5 May 2021 00:08:31 +0000 (17:08 -0700)]
bpo-40521: Convert deque freelist from global vars to instance vars (GH-25906)
karl ding [Tue, 4 May 2021 20:37:13 +0000 (13:37 -0700)]
bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548)
The address tuple for CAN_RAW no longer returns the address family
after the introduction of CAN ISO-TP support in
a30f6d45ac3 . However,
updating test_socket.CANTest.testSendFrame was missed as part of the
change, so the test incorrectly attempts to index past the last tuple
item to retrieve the address family.
This removes the now-redundant check for equality against socket.AF_CAN,
as the tuple will not contain the address family.
Jean-Abou-Samra [Tue, 4 May 2021 19:37:39 +0000 (21:37 +0200)]
Clarify rx parameter of compileall functions (#25857)
Raymond Hettinger [Tue, 4 May 2021 18:27:28 +0000 (11:27 -0700)]
Fix inconsistent fsum vs sum and fmean vs mean (GH-25898)
Ikko Ashimine [Tue, 4 May 2021 13:18:58 +0000 (22:18 +0900)]
Fix typo in ast.py (GH-25740)
parantheses -> parentheses
Erlend Egeberg Aasland [Tue, 4 May 2021 12:47:44 +0000 (14:47 +0200)]
bpo-42686: Enable SQLite math functions in Windows build (#24053)
Roberto Hueso [Tue, 4 May 2021 12:36:01 +0000 (14:36 +0200)]
bpo-32822: Add finally with return/break/continue to the tutorial (#25600)
This documents in the tutorial docs the behavior of a finally clause in
case it should re-raise an exception but contains a
return/break/continue statement.
krisaoe [Tue, 4 May 2021 12:34:14 +0000 (22:34 +1000)]
Fix error in Enum documentation example code that was referring to the wrong enum. (#25837)
Ken Jin [Tue, 4 May 2021 11:07:31 +0000 (19:07 +0800)]
Add C-API tests (#25886)
Jelle Zijlstra [Tue, 4 May 2021 09:29:49 +0000 (02:29 -0700)]
bpo-38352: Add to typing.__all__ (#25821)
This adds IO, TextIO, BinaryIO, Match, and Pattern.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Jelle Zijlstra [Tue, 4 May 2021 09:19:23 +0000 (02:19 -0700)]
Copyedits to 3.10 What's New (#25787)
Co-authored-by: Dominic Davis-Foster <dominic@davis-foster.co.uk>
Terry Jan Reedy [Tue, 4 May 2021 09:00:29 +0000 (05:00 -0400)]
bpo-44025: Clarify when '_' is a keyword. (#25873)
In match statements, in case patterns and nowhere else.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Raymond Hettinger [Tue, 4 May 2021 08:55:40 +0000 (01:55 -0700)]
bpo-40465: Remove random module features deprecated in 3.9 (GH-25874)
Jelle Zijlstra [Tue, 4 May 2021 08:54:12 +0000 (01:54 -0700)]
bpo-44001: improve Literal documentation (GH-25877)
Michael Felt [Tue, 4 May 2021 08:36:50 +0000 (10:36 +0200)]
bpo-43666: Lib/_aix_support.py routines may fail in a WPAR environment (GH-25095)
Since WPAR and LPAR both have a builddate for teh fileset bos.rte
The name of the fileset checked is modified.
To prevent a similiar situation (no builddate in ODM) a value
sufficient for pep425 activity if retrieved buildate is zero or NULL
Patch by M Felt.
Jürgen Gmach [Tue, 4 May 2021 06:48:29 +0000 (08:48 +0200)]
update docstring for `win_getpass` to reflect code changes (GH-24967)
The code was updated in
https://github.com/python/cpython/commit/
0ec88b33d093db00ec68b220247681354a650f0c
but the docstring was left untouched.
=> updated the docstring to reflect the code changes
Jelle Zijlstra [Tue, 4 May 2021 03:19:46 +0000 (20:19 -0700)]
fix enum.property reference in docs (GH-25875)
Ethan Furman [Tue, 4 May 2021 01:44:30 +0000 (18:44 -0700)]
fix enum and backslash warnings (GH-25861)
- Enum warning in test_faulthandler
- backslash warning in test_ipaddress
dependabot[bot] [Tue, 4 May 2021 01:09:51 +0000 (03:09 +0200)]
build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#25773)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...
1a9e2138d905efd099035b49d8b7a3888c653ca8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Tue, 4 May 2021 01:09:34 +0000 (03:09 +0200)]
build(deps): bump actions/upload-artifact from v2.2.2 to v2.2.3 (#25772)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...
ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Pablo Galindo [Tue, 4 May 2021 00:32:46 +0000 (01:32 +0100)]
bpo-43822: Prioritize tokenizer errors over custom syntax errors when raising parser exceptions (GH-25866)
Pablo Galindo [Mon, 3 May 2021 23:28:47 +0000 (00:28 +0100)]
Correct the version of the first alpha in the README.rst (GH-25862)
Raymond Hettinger [Mon, 3 May 2021 23:11:35 +0000 (16:11 -0700)]
bpo-44018: random.seed() no longer mutates its inputs (GH-25856)
Pablo Galindo [Mon, 3 May 2021 22:36:55 +0000 (23:36 +0100)]
Update CI files to account for the master -> main rename (GH-25860)
Pablo Galindo [Mon, 3 May 2021 20:25:35 +0000 (21:25 +0100)]
Python 3.11.0a0
Shreyan Avigyan [Mon, 3 May 2021 19:27:47 +0000 (00:57 +0530)]
Remove Enum warnings from test_httpservers (GH-25844)
Dennis Sweeney [Mon, 3 May 2021 15:47:27 +0000 (11:47 -0400)]
bpo-38530: Refactor and improve AttributeError suggestions (GH-25776)
- Make case-swaps half the cost of any other edit
- Refactor Levenshtein code to not use memory allocator, and to bail early on no match.
- Add comments to Levenshtein distance code
- Add test cases for Levenshtein distance behind a debug macro
- Set threshold to `(name_size + item_size + 3) * MOVE_COST / 6`.
- Reasoning: similar to `difflib.SequenceMatcher.ratio()` >= 2/3:
```
"Multiset Jaccard similarity" >= 2/3
matching letters / total letters >= 2/3
(name_size - distance + item_size - distance) / (name_size + item_size) >= 2/3
1 - (2*distance) / (name_size + item_size) >= 2/3
1/3 >= (2*distance) / (name_size + item_size)
(name_size + item_size) / 6 >= distance
With rounding:
(name_size + item_size + 3) // 6 >= distance
```
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
Christian Heimes [Mon, 3 May 2021 15:45:02 +0000 (17:45 +0200)]
bpo-43943: ssl tests: Increase server socket timeout, backlog, debugging (GH-25850)
Signed-off-by: Christian Heimes <christian@python.org>
Pablo Galindo [Mon, 3 May 2021 15:21:59 +0000 (16:21 +0100)]
bpo-44011: Revert "New asyncio ssl implementation (GH-17975)" (GH-25848)
This reverts commit
5fb06edbbb769561e245d0fe13002bab50e2ae60 and all
subsequent dependent commits.
Pablo Galindo [Mon, 3 May 2021 15:20:46 +0000 (16:20 +0100)]
bpo-43754: Fix compiler warning in Python/compile.c (GH-25855)
This fixes the following warning:
'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Pablo Galindo [Mon, 3 May 2021 14:50:24 +0000 (15:50 +0100)]
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854)
Julien Palard [Mon, 3 May 2021 09:20:54 +0000 (11:20 +0200)]
Doc: Fix random.uniform example comment. (GH-25784)
Andrew Svetlov [Mon, 3 May 2021 09:06:17 +0000 (12:06 +0300)]
Increase test timeout (GH-25842)
Batuhan Taskaya [Mon, 3 May 2021 07:43:00 +0000 (10:43 +0300)]
bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)
Christian Heimes [Mon, 3 May 2021 07:38:56 +0000 (09:38 +0200)]
bpo-44011: Fix asyncio tests without ssl module (GH-25840)
Signed-off-by: Christian Heimes <christian@python.org>
Eric V. Smith [Mon, 3 May 2021 07:24:53 +0000 (03:24 -0400)]
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per class (GH-25841)
bpo-44015: Raise a TypeError if KW_ONLY is specified more than once.
Eric V. Smith [Mon, 3 May 2021 06:33:34 +0000 (02:33 -0400)]
dataclasses docs: add a missing word. (GH-25839)
Eric V. Smith [Mon, 3 May 2021 05:55:13 +0000 (01:55 -0400)]
More clarification of kw_only args. (GH-25838)
Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
Ned Deily [Mon, 3 May 2021 05:02:13 +0000 (01:02 -0400)]
Update macOS installer welcome and readme for 3.10b1 (GH-25835)
Ned Deily [Mon, 3 May 2021 04:23:54 +0000 (00:23 -0400)]
bpo-42362: use clang name on 10.9 builds as well (GH-25834)
Raymond Hettinger [Mon, 3 May 2021 04:07:29 +0000 (21:07 -0700)]
Fix invalid markup (#25833)
Ronald Oussoren [Mon, 3 May 2021 03:43:52 +0000 (05:43 +0200)]
bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough compilers (GH-23079)
With recent enough compilers we can build binaries with
LTO/PGO on macOS. This patch enables this when building on
macOS 10.15 or later (Xcode 11 or later).
Raymond Hettinger [Mon, 3 May 2021 03:19:51 +0000 (20:19 -0700)]
bpo-25478: Add total() method to collections.Counter (GH-25829)
Ned Batchelder [Mon, 3 May 2021 02:58:57 +0000 (19:58 -0700)]
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785)
Narrow search to match contents of SDKs, namely only files in ``/System/Library``,
``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously,
anything under ``/System`` was assumed to be in an SDK which causes problems
with the new file system layout in 10.15+ where user file systems may appear
to be mounted under ``/System``. Paths in ``/Library`` were also
incorrectly treated as SDK locations.
Co-authored-by: Ned Deily <nad@python.org>
Tal Einat [Mon, 3 May 2021 02:27:38 +0000 (05:27 +0300)]
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts.
Also add copy-with-prompts to the text-box context menu.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Ronald Oussoren [Mon, 3 May 2021 01:29:03 +0000 (03:29 +0200)]
bpo-42362: Switch to clang/clang++ as the default compiler in build-installer.py (GH-23298)
This change is cosmetic only, the "gcc" command in Apple's compiler tools is an alias for "clang" (and using non-system tooling for building the installer is not supported by this script).
Automerge-Triggered-By: GH:ned-deily
Eric V. Smith [Mon, 3 May 2021 01:20:50 +0000 (21:20 -0400)]
More work on documenting dataclass keyword-only fields. (GH-25828)
Erlend Egeberg Aasland [Mon, 3 May 2021 00:37:35 +0000 (02:37 +0200)]
bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413)
Ned Deily [Mon, 3 May 2021 00:28:43 +0000 (20:28 -0400)]
bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827)
Only complain if the config target is >= 10.3 and the current target is
< 10.3. The check was originally added to ensure that incompatible
LDSHARED flags are not used, because -undefined dynamic_lookup is
used when building for 10.3 and later, and is not supported on older OS
versions. Apart from that, there should be no problem in general
with using an older target.
Authored-by: Joshua Root <jmr@macports.org>
Mark Shannon [Sun, 2 May 2021 23:38:22 +0000 (00:38 +0100)]
bpo-43977: Make sure that tp_flags for pattern matching are inherited correctly. (GH-25813)
Brandt Bucher [Sun, 2 May 2021 22:35:00 +0000 (15:35 -0700)]
bpo-43977: Document the new pattern matching type flags (GH-25734)
Erlend Egeberg Aasland [Sun, 2 May 2021 22:10:51 +0000 (00:10 +0200)]
bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823)
Andrew Svetlov [Sun, 2 May 2021 21:34:15 +0000 (00:34 +0300)]
bpo-44011: New asyncio ssl implementation (#17975)
Erlend Egeberg Aasland [Sun, 2 May 2021 21:25:17 +0000 (23:25 +0200)]
bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818)
Jason R. Coombs [Sun, 2 May 2021 21:03:40 +0000 (17:03 -0400)]
bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565)
* bpo-43926: Cleaner metadata with PEP 566 JSON support.
* Add blurb
* Add versionchanged and versionadded declarations for changes to metadata.
* Use descriptor for PEP 566
Brandt Bucher [Sun, 2 May 2021 20:02:10 +0000 (13:02 -0700)]
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)
Zackery Spytz [Sun, 2 May 2021 17:29:15 +0000 (10:29 -0700)]
bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)
Footnotes 5 and 6 were in the wrong order.
Shreyan Avigyan [Sun, 2 May 2021 15:43:50 +0000 (21:13 +0530)]
bpo-43997: Add versionadded directives for to match_args, kw_only, and slots in dataclasses.dataclasses documentation (GH-25803)
Christian Heimes [Sun, 2 May 2021 14:38:02 +0000 (16:38 +0200)]
bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817)
Signed-off-by: Christian Heimes <christian@python.org>
Christian Heimes [Sun, 2 May 2021 12:00:35 +0000 (14:00 +0200)]
bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099)
Reverts commit
e653d4d8e820a7a004ad399530af0135b45db27a and makes
parsing even more strict. Like socket.inet_pton() any leading zero
is now treated as invalid input.
Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Zackery Spytz [Sun, 2 May 2021 10:40:01 +0000 (03:40 -0700)]
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (#8721)
Embedded nulls would cause a ValueError to be raised. Thanks go to
Eryk Sun for their analysis.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Ned Deily [Sun, 2 May 2021 09:19:07 +0000 (05:19 -0400)]
bpo-41100: Update Misc/ACKS (GH-25808)
Ned Deily [Sun, 2 May 2021 08:48:29 +0000 (04:48 -0400)]
bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804)
This allows reliably forcing macOS universal2 framework builds
to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs
if needed for testing or when universal2 wheels are not yet
available.
Christian Heimes [Sun, 2 May 2021 07:47:45 +0000 (09:47 +0200)]
bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792)
Signed-off-by: Christian Heimes <christian@python.org>
Inada Naoki [Sun, 2 May 2021 05:01:02 +0000 (14:01 +0900)]
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)
larryhastings [Sun, 2 May 2021 04:19:24 +0000 (21:19 -0700)]
bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)
Add "Annotations Best Practices" HOWTO doc.
Eric V. Smith [Sun, 2 May 2021 01:46:05 +0000 (21:46 -0400)]
Minor tweaks to dataclasses keyword-only fields documentation. (GH-25801)
Eric V. Smith [Sat, 1 May 2021 23:51:12 +0000 (19:51 -0400)]
Improve the dataclasses kw_only documentation. (GH-25799)
Brandt Bucher [Sat, 1 May 2021 22:02:30 +0000 (15:02 -0700)]
Fix broken name in build.yml (GH-25759)
Shreyash Sharma [Sat, 1 May 2021 20:54:39 +0000 (02:24 +0530)]
Fix exceptions mentioned in os.setxattr() docs (GH-25742)
Ethan Furman [Sat, 1 May 2021 20:53:57 +0000 (13:53 -0700)]
Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793)
Reverts python/cpython#25780
Automerge-Triggered-By: GH:tiran
Christian Heimes [Sat, 1 May 2021 20:42:36 +0000 (22:42 +0200)]
bpo-43916: Rewrite new hashlib tests, fix typo (GH-25791)
* bpo-43916: Rewrite new hashlib tests, fix typo
* Flag test as cpython only
Roberto Hueso [Sat, 1 May 2021 20:34:29 +0000 (22:34 +0200)]
bpo-43989: Add signal format specifier for unix_events (GH-25769)
Add format specifier for IntEnum references to avoid 3.12 deprecation warning.
Christian Heimes [Sat, 1 May 2021 20:17:01 +0000 (22:17 +0200)]
bpo-43998: Fix testing without ssl module (GH-25790)
Signed-off-by: Christian Heimes <christian@python.org>
Pablo Galindo [Sat, 1 May 2021 19:26:09 +0000 (20:26 +0100)]
bpo-43957: Add a missins space to the new format enum warning (#25770)
Christian Heimes [Sat, 1 May 2021 18:53:10 +0000 (20:53 +0200)]
bpo-43998: Default to TLS 1.2 and increase cipher suite security (GH-25778)
The ssl module now has more secure default settings. Ciphers without forward
secrecy or SHA-1 MAC are disabled by default. Security level 2 prohibits
weak RSA, DH, and ECC keys with less than 112 bits of security.
:class:`~ssl.SSLContext` defaults to minimum protocol version TLS 1.2.
Settings are based on Hynek Schlawack's research.
```
$ openssl version
OpenSSL 1.1.1k FIPS 25 Mar 2021
$ openssl ciphers -v '@SECLEVEL=2:ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES:DHE+AES:!aNULL:!eNULL:!aDSS:!SHA1:!AESCCM'
TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any Au=any Enc=CHACHA20/POLY1305(256) Mac=AEAD
TLS_AES_128_GCM_SHA256 TLSv1.3 Kx=any Au=any Enc=AESGCM(128) Mac=AEAD
TLS_AES_128_CCM_SHA256 TLSv1.3 Kx=any Au=any Enc=AESCCM(128) Mac=AEAD
ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AESGCM(256) Mac=AEAD
ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD
ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AESGCM(128) Mac=AEAD
ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(128) Mac=AEAD
ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
ECDHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH Au=RSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
ECDHE-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(256) Mac=SHA384
ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA384
ECDHE-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=ECDSA Enc=AES(128) Mac=SHA256
ECDHE-RSA-AES128-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(128) Mac=SHA256
DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(256) Mac=AEAD
DHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AESGCM(128) Mac=AEAD
DHE-RSA-AES256-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AES(256) Mac=SHA256
DHE-RSA-AES128-SHA256 TLSv1.2 Kx=DH Au=RSA Enc=AES(128) Mac=SHA256
```
Signed-off-by: Christian Heimes <christian@python.org>
Shreyash Sharma [Sat, 1 May 2021 18:24:10 +0000 (23:54 +0530)]
Fixing doc for callback for lambda (GG-25779)
Fixing callback for lambda when no return value is provided
Eric V. Smith [Sat, 1 May 2021 17:27:30 +0000 (13:27 -0400)]
If using a frozen class with slots, add __getstate__ and __setstate__ to set the instance values. (GH-25786)
Christian Heimes [Sat, 1 May 2021 14:05:01 +0000 (16:05 +0200)]
bpo-43989: Temporarily disable warnings in ssltests (GH-25780)
-Werror is currently broken.
Stéphane Bidoul [Sat, 1 May 2021 09:15:19 +0000 (11:15 +0200)]
bpo-43993: Update vendored pip to 21.1.1 (GH-25761)
larryhastings [Sat, 1 May 2021 05:55:21 +0000 (22:55 -0700)]
Noted my recent contributions in "What's New In Python 3.10". (#25771)
Noted my recent contributions in "What's New In Python 3.10". Also made some edits clarifying "annotations" vs "type hints", and some other edits for correctness.
Yurii Karabas [Sat, 1 May 2021 02:14:30 +0000 (05:14 +0300)]
bpo-42269: Add slots parameter to dataclass decorator (GH-24171)
Add slots parameter to dataclass decorator and make_dataclass function.
Pablo Galindo [Sat, 1 May 2021 01:21:19 +0000 (02:21 +0100)]
bpo-43916: Export the _PyStructSequence_InitType to fix build errors in the curses module (GH-25768)
Ma Lin [Fri, 30 Apr 2021 23:32:49 +0000 (07:32 +0800)]
bpo-41486: Fix initial buffer size can't > UINT32_MAX in zlib module (GH-25738)
* Fix initial buffer size can't > UINT32_MAX in zlib module
After commit
f9bedb630e8a0b7d94e1c7e609b20dfaa2b22231 , in 64-bit build,
if the initial buffer size > UINT32_MAX, ValueError will be raised.
These two functions are affected:
1. zlib.decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
2. zlib.Decompress.flush([length])
This commit re-allows the size > UINT32_MAX.
* adds curly braces per PEP 7.
* Renames `Buffer_*` to `OutputBuffer_*` for clarity
Erlend Egeberg Aasland [Fri, 30 Apr 2021 23:23:14 +0000 (01:23 +0200)]
bpo-43995: Fix reference leak in test_grammar (GH-25764)
Mohamed Moselhy [Fri, 30 Apr 2021 23:06:55 +0000 (19:06 -0400)]
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
Result: "quantity_on_hand: int = 0".
JT [Fri, 30 Apr 2021 22:35:07 +0000 (15:35 -0700)]
bpo-43928: Fix 'succesfully' typo in document (GH-25569)
Tarjei Bærland [Fri, 30 Apr 2021 22:05:45 +0000 (00:05 +0200)]
bpo-43935: Fix typo in Turtle.back() docstring (GH-25581)
'e ,' to 'e, '.
Ammar Askar [Fri, 30 Apr 2021 21:04:40 +0000 (17:04 -0400)]
bpo-43888: Remove coverage builds from CI (GH-25679)
The coverage builds were consistently timing out in CI, suggesting that people were not reviewing the uploaded reports.