Skip to content
Permalink
master

Commits on May 3, 2021

  1. 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>
    ned-deily committed May 3, 2021

Commits on May 2, 2021

  1. bpo-43977: Make sure that tp_flags for pattern matching are inherited…

    … correctly. (GH-25813)
    markshannon committed May 2, 2021
  2. bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823)

    erlend-aasland committed May 2, 2021
  3. bpo-44011: New asyncio ssl implementation (#17975)

    asvetlov committed May 2, 2021
  4. bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__…

    …init__ (GH-25818)
    erlend-aasland committed May 2, 2021
  5. 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
    jaraco committed May 2, 2021
  6. bpo-43990: Fix the footnote ordering in the operator precedence docs (G…

    …H-25805)
    
    Footnotes 5 and 6 were in the wrong order.
    ZackerySpytz committed May 2, 2021
  7. bpo-43997: Add versionadded directives for to match_args, kw_only, an…

    …d slots in dataclasses.dataclasses documentation (GH-25803)
    shreyanavigyan committed May 2, 2021
  8. bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817

    )
    
    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed May 2, 2021
  9. bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (G…

    …H-25099)
    
    Reverts commit e653d4d 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>
    tiran and ambv committed May 2, 2021
  10. 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>
    ZackerySpytz and ambv committed May 2, 2021
  11. bpo-41100: Update Misc/ACKS (GH-25808)

    ned-deily committed May 2, 2021
  12. 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.
    ned-deily committed May 2, 2021
  13. bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed May 2, 2021
  14. bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)

    Add "Annotations Best Practices" HOWTO doc.
    larryhastings committed May 2, 2021

Commits on May 1, 2021

  1. Improve the dataclasses kw_only documentation. (GH-25799)

    ericvsmith committed May 1, 2021
  2. Fix broken name in build.yml (GH-25759)

    brandtbucher committed May 1, 2021
  3. Fix exceptions mentioned in os.setxattr() docs (GH-25742)

    shreyneil committed May 1, 2021
  4. Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)…

    …" (GH-25793)
    
    Reverts #25780
    
    Automerge-Triggered-By: GH:tiran
    ethanfurman committed May 1, 2021
  5. bpo-43916: Rewrite new hashlib tests, fix typo (GH-25791)

    * bpo-43916: Rewrite new hashlib tests, fix typo
    * Flag test as cpython only
    tiran committed May 1, 2021
  6. bpo-43989: Add signal format specifier for unix_events (GH-25769)

    Add format specifier for IntEnum references to avoid 3.12 deprecation warning.
    robertohueso committed May 1, 2021
  7. bpo-43998: Fix testing without ssl module (GH-25790)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed May 1, 2021
  8. 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>
    tiran committed May 1, 2021
  9. Fixing doc for callback for lambda (GG-25779)

    Fixing callback for lambda when no return value is provided
    shreyneil committed May 1, 2021
  10. If using a frozen class with slots, add __getstate__ and __setstate__…

    … to set the instance values. (GH-25786)
    ericvsmith committed May 1, 2021
  11. bpo-43989: Temporarily disable warnings in ssltests (GH-25780)

    -Werror is currently broken.
    tiran committed May 1, 2021
  12. bpo-43993: Update vendored pip to 21.1.1 (GH-25761)

    sbidoul committed May 1, 2021
  13. 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.
    larryhastings committed May 1, 2021
  14. bpo-42269: Add slots parameter to dataclass decorator (GH-24171)

    Add slots parameter to dataclass decorator and make_dataclass function.
    uriyyo committed May 1, 2021
Older