summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43754: Fix compiler warning in Python/compile.c (GH-25855)Pablo Galindo2021-05-031-1/+1
| | | | | This fixes the following warning: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
* bpo-43916: Move the _PyStructSequence_InitType function to the internal API ↵Pablo Galindo2021-05-0310-9/+26
| | | | (GH-25854)
* Doc: Fix random.uniform example comment. (GH-25784)Julien Palard2021-05-031-1/+1
|
* Increase test timeout (GH-25842)Andrew Svetlov2021-05-031-3/+3
|
* bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)Batuhan Taskaya2021-05-035-18/+149
|
* bpo-44011: Fix asyncio tests without ssl module (GH-25840)Christian Heimes2021-05-032-3/+9
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-44015: dataclasses should allow KW_ONLY to be specified only once per ↵Eric V. Smith2021-05-033-0/+83
| | | | | class (GH-25841) bpo-44015: Raise a TypeError if KW_ONLY is specified more than once.
* dataclasses docs: add a missing word. (GH-25839)Eric V. Smith2021-05-031-1/+1
|
* More clarification of kw_only args. (GH-25838)Eric V. Smith2021-05-031-13/+20
| | | Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
* Update macOS installer welcome and readme for 3.10b1 (GH-25835)Ned Deily2021-05-032-8/+28
|
* bpo-42362: use clang name on 10.9 builds as well (GH-25834)Ned Deily2021-05-031-1/+0
|
* Fix invalid markup (#25833)Raymond Hettinger2021-05-031-2/+1
|
* bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough ↵Ronald Oussoren2021-05-032-0/+12
| | | | | | | 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).
* bpo-25478: Add total() method to collections.Counter (GH-25829)Raymond Hettinger2021-05-034-1/+21
|
* bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785)Ned Batchelder2021-05-032-3/+10
| | | | | | | | | | 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>
* bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)Tal Einat2021-05-0310-212/+366
| | | | | | 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>
* bpo-42362: Switch to clang/clang++ as the default compiler in ↵Ronald Oussoren2021-05-031-1/+4
| | | | | | | 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
* More work on documenting dataclass keyword-only fields. (GH-25828)Eric V. Smith2021-05-031-16/+40
|
* bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413)Erlend Egeberg Aasland2021-05-032-0/+2
|
* bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827)Ned Deily2021-05-036-34/+15
| | | | | | | | | | 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>
* bpo-43977: Make sure that tp_flags for pattern matching are inherited ↵Mark Shannon2021-05-025-8/+69
| | | | correctly. (GH-25813)
* bpo-43977: Document the new pattern matching type flags (GH-25734)Brandt Bucher2021-05-022-0/+46
|
* bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823)Erlend Egeberg Aasland2021-05-021-8/+1
|
* bpo-44011: New asyncio ssl implementation (#17975)Andrew Svetlov2021-05-0212-527/+2474
|
* bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ ↵Erlend Egeberg Aasland2021-05-025-13/+17
| | | | (GH-25818)
* bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565)Jason R. Coombs2021-05-0212-26/+254
| | | | | | | | | * 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
* bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)Brandt Bucher2021-05-0210-345/+575
|
* bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)Zackery Spytz2021-05-021-3/+3
| | | Footnotes 5 and 6 were in the wrong order.
* bpo-43997: Add versionadded directives for to match_args, kw_only, and slots ↵Shreyan Avigyan2021-05-021-0/+8
| | | | in dataclasses.dataclasses documentation (GH-25803)
* bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817)Christian Heimes2021-05-022-0/+63
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099)Christian Heimes2021-05-026-8/+59
| | | | | | | | | 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>
* bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (#8721)Zackery Spytz2021-05-023-1/+13
| | | | | | 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>
* bpo-41100: Update Misc/ACKS (GH-25808)Ned Deily2021-05-021-0/+4
|
* bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804)Ned Deily2021-05-026-9/+62
| | | | | | 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.
* bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792)Christian Heimes2021-05-0213-18/+49
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)Inada Naoki2021-05-023-2/+12
|
* bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)larryhastings2021-05-027-21/+298
| | | Add "Annotations Best Practices" HOWTO doc.
* Minor tweaks to dataclasses keyword-only fields documentation. (GH-25801)Eric V. Smith2021-05-021-5/+5
|
* Improve the dataclasses kw_only documentation. (GH-25799)Eric V. Smith2021-05-011-13/+28
|
* Fix broken name in build.yml (GH-25759)Brandt Bucher2021-05-011-1/+1
|
* Fix exceptions mentioned in os.setxattr() docs (GH-25742)Shreyash Sharma2021-05-011-2/+2
|
* Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" ↵Ethan Furman2021-05-011-1/+1
| | | | | | | (GH-25793) Reverts python/cpython#25780 Automerge-Triggered-By: GH:tiran
* bpo-43916: Rewrite new hashlib tests, fix typo (GH-25791)Christian Heimes2021-05-011-30/+12
| | | | * bpo-43916: Rewrite new hashlib tests, fix typo * Flag test as cpython only
* bpo-43989: Add signal format specifier for unix_events (GH-25769)Roberto Hueso2021-05-011-2/+2
| | | Add format specifier for IntEnum references to avoid 3.12 deprecation warning.
* bpo-43998: Fix testing without ssl module (GH-25790)Christian Heimes2021-05-011-3/+4
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-43957: Add a missins space to the new format enum warning (#25770)Pablo Galindo2021-05-011-1/+1
|
* bpo-43998: Default to TLS 1.2 and increase cipher suite security (GH-25778)Christian Heimes2021-05-018-18/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fixing doc for callback for lambda (GG-25779)Shreyash Sharma2021-05-011-1/+1
| | | Fixing callback for lambda when no return value is provided
* If using a frozen class with slots, add __getstate__ and __setstate__ to set ↵Eric V. Smith2021-05-012-2/+34
| | | | the instance values. (GH-25786)
* bpo-43989: Temporarily disable warnings in ssltests (GH-25780)Christian Heimes2021-05-011-1/+1
| | | -Werror is currently broken.