Skip to content
Permalink
master

Commits on Apr 17, 2021

  1. Fix type group capture in the PEG highlight tool (GH-25464)

    pablogsal committed Apr 17, 2021
  2. Small changes to the section about SyntaxErrors in the 3.10 What's Ne…

    …w document (GH-25461)
    pablogsal committed Apr 17, 2021
  3. bpo-37630: Do not skip the sha3 tests in case of missing builtin sha3…

    … module (GH-20986)
    
    Since we can use now the sha3 and shake algorithms from OpenSSL, we shouldn't
    skip the tests in case the builtin algorithm was not compiled or removed.
    stratakis committed Apr 17, 2021
  4. bpo-38530: Include builtins in NameError suggestions (GH-25460)

    pablogsal committed Apr 17, 2021
  5. bpo-42333: Port _ssl extension to multiphase initialization (PEP 489) (

    …GH-23253)
    
    - Introduce sslmodule_slots
    - Introduce sslmodulestate
    - Use sslmodulestate
    - Get rid of PyState_FindModule
    - Move new structs and helpers to header file
    - Use macros to access state
    - Keep a strong ref to socket type
    tiran committed Apr 17, 2021
  6. Fix typo in a dataclasses comment. (GH-25454)

    ericvsmith committed Apr 17, 2021
  7. Fix a typo in subprocess documentation (GH-25426)

    Fix a typo per conversation with vstinner on IRC: in posix => on posix.
    akulakov committed Apr 17, 2021
  8. bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (GH-23014)

    - Remove HAVE_X509_VERIFY_PARAM_SET1_HOST check
    - Update hashopenssl to require OpenSSL 1.1.1
    - multissltests only OpenSSL > 1.1.0
    - ALPN is always supported
    - SNI is always supported
    - Remove deprecated NPN code. Python wrappers are no-op.
    - ECDH is always supported
    - Remove OPENSSL_VERSION_1_1 macro
    - Remove locking callbacks
    - Drop PY_OPENSSL_1_1_API macro
    - Drop HAVE_SSL_CTX_CLEAR_OPTIONS macro
    - SSL_CTRL_GET_MAX_PROTO_VERSION is always defined now
    - security level is always available now
    - get_num_tickets is available with TLS 1.3
    - X509_V_ERR MISMATCH is always available now
    - Always set SSL_MODE_RELEASE_BUFFERS
    - X509_V_FLAG_TRUSTED_FIRST is always available
    - get_ciphers is always supported
    - SSL_CTX_set_keylog_callback is always available
    - Update Modules/Setup with static link example
    - Mention PEP in whatsnew
    - Drop 1.0.2 and 1.1.0 from GHA tests
    tiran committed Apr 17, 2021
  9. bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899)

    Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not
    copy hostflags from *struct SSL_CTX* to *struct SSL*.
    
    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Apr 17, 2021
  10. Fix typo in exceptions.rst (GH-25434)

    attemps -> attempts
    eltociear committed Apr 17, 2021

Commits on Apr 16, 2021

  1. bpo-43856: Add a versionadded directive to the importlib.metadata docs (

    GH-25445)
    
    Use a versionadded directive to generate the text "New in version
    3.8." (to match with the documentation of other modules).
    
    Automerge-Triggered-By: GH:jaraco
    ZackerySpytz committed Apr 16, 2021
  2. bpo-43867: multiprocessing Server catchs SystemExit (GH-25441)

    The multiprocessing Server class now explicitly catchs SystemExit and
    closes the client connection in this case. It happens when the
    Server.serve_client() method reachs the end of file (EOF).
    vstinner committed Apr 16, 2021
  3. bpo-43862: Enhance -W cmdline option documentation (GH-25439)

    The -W format is "action:message:category:module:lineno".
    
    Update also the Python manual page.
    vstinner committed Apr 16, 2021
  4. bpo-38530: Match exactly AttributeError and NameError when offering s…

    …uggestions (GH-25443)
    pablogsal committed Apr 16, 2021
  5. bpo-43843: libregrtest uses threading.excepthook (GH-25400)

    test.libregrtest now marks a test as ENV_CHANGED (altered the
    execution environment) if a thread raises an exception but does not
    catch it. It sets a hook on threading.excepthook. Use
    --fail-env-changed option to mark the test as failed.
    
    libregrtest regrtest_unraisable_hook() explicitly flushs
    sys.stdout, sys.stderr and sys.__stderr__.
    vstinner committed Apr 16, 2021
  6. bpo-43842: Fix race condition in test_logging SMTP test (GH-25436)

    Fix a race condition in the SMTP test of test_logging. Don't close a
    file descriptor (socket) from a different thread while
    asyncore.loop() is polling the file descriptor.
    vstinner committed Apr 16, 2021
  7. bpo-41282: Fix distutils.utils.byte_compile() DeprecationWarning (GH-…

    …25406)
    
    * byte_compile() of distutils.utils no longer logs a
      DeprecationWarning
    * test_distutils no longer logs a DeprecationWarning
    vstinner committed Apr 16, 2021
  8. bpo-40443: Remove unused imports (GH-25429)

    * pyclbr no longer uses copy
    * typing no longer uses ast
    
    Issue discovered by pyflakes.
    vstinner committed Apr 16, 2021
  9. Improve the section with SyntaxError message improvements to the What…

    …'s New of 3.10 (GH-25428)
    pablogsal committed Apr 16, 2021

Commits on Apr 15, 2021

  1. bpo-43823: Fix location of one of the errors for invalid dictionary l…

    …iterals (GH-25427)
    pablogsal committed Apr 15, 2021
  2. bpo-43822: Improve syntax errors for missing commas (GH-25377)

    pablogsal committed Apr 15, 2021
  3. Update ACKS (GH-25423)

    * Add Arseny Boykov
    * Add Matthias Urlichs
    ethanfurman committed Apr 15, 2021
  4. bpo-43744: [Enum] fix ``_is_private`` (GH-25349)

    ``_is_private`` now returns ``False`` instead of raising an exception when enum name matches beginning of class name
    as used in a private variable
    ethanfurman committed Apr 15, 2021
  5. [Enum] fix doc string (GH-25376)

    ethanfurman committed Apr 15, 2021
  6. bpo-43846: Use less stack for large literals and calls (GH-25403)

    * Modify compiler to reduce stack consumption for large expressions.
    
    * Add more tests for stack usage.
    
    * Add NEWS item.
    
    * Raise SystemError for truly excessive stack use.
    markshannon committed Apr 15, 2021
  7. bpo-37741: make importlib.metadata docs discoverable through a module…

    … directive. (GH-25415)
    
    Automerge-Triggered-By: GH:jaraco
    jaraco committed Apr 15, 2021

Commits on Apr 14, 2021

  1. bpo-38530: Optimize the calculation of string sizes when offering sug…

    …gestions (GH-25412)
    pablogsal committed Apr 14, 2021
  2. bpo-43296: Handle sqlite3_value_blob() errors (GH-24674)

    erlend-aasland committed Apr 14, 2021
  3. bpo-38530: Make sure that failing to generate suggestions on failure …

    …will not propagate exceptions (GH-25408)
    pablogsal committed Apr 14, 2021
Older