Skip to content
Permalink
main
Switch branches/tags

Commits on Jul 23, 2022

  1. Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)

    For the continuation lines, "..." should present as secondary prompt
    vinzid committed Jul 23, 2022
  2. gh-95132: Correctly relay *args and **kwds from sqlite3.connect to fa…

    …ctory (#95146)
    
    This PR partially reverts gh-24421 (PR) and fixes the remaining concerns
    given in gh-93044 (issue):
    
    - keyword arguments are passed as positional arguments to factory()
    - if an argument is not passed to sqlite3.connect(), its default value
      is passed to factory()
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    erlend-aasland and serhiy-storchaka committed Jul 23, 2022

Commits on Jul 22, 2022

  1. gh-90385: Add pathlib.Path.walk() method (GH-92517)

    Automerge-Triggered-By: GH:brettcannon
    Ovsyanka83 committed Jul 22, 2022
  2. Use Markdown Headers in GitHub Issue templates (GH-95111)

    The Issue templates are using the markup to make text bold.
    We should be using proper text headers instead.
    
    I replaced the **bold** text markup with L1 headers.
    Mariatta committed Jul 22, 2022
  3. Fix typo in PROTOCOL_TO_TLS_VERSION in test_ssl (GH-95119)

    This appears to be a typo. It causes try_protocol_combo to try to turn
    on SSL 3.0 when testing PROTOCOL_SSLv23 (aka PROTOCOL_TLS), which
    doesn't make any sense. Fix it to be PROTOCOL_SSLv3.
    
    Without this, try_protocol_combo is actually setting
    context.minimum_version to SSLv3 when called as
    try_protocol_combo(ssl.PROTOCOL_TLS, ssl.PROTOCOL_TLS, True)
    
    One would think this causes a no-ssl3 OpenSSL build to fail, but OpenSSL
    forgot to make SSL_CTX_set_min_proto_version(SSL3_VERSION) does not
    notice no-ssl3, so this typo has gone undetected. But we should still
    fix the typo because, presumably, a future version of OpenSSL will
    remove SSL 3.0 and do so more thoroughly, at which point this will
    break.
    davidben committed Jul 22, 2022
  4. gh-95112: Fix What's New 3.12 contribution note periods (#95118)

    A couple, so far, are missing.
    terryjreedy committed Jul 22, 2022
  5. gh-95112: Fix What's New 3.11 contribution note periods (#95115)

    Some are missing, a few placed after the ')'.
    terryjreedy committed Jul 22, 2022
  6. gh-95112: Fix What's New 3.10 contribution note periods (#95114)

    Some are missing, a few placed after the ')'.
    One ') was missing.
    terryjreedy committed Jul 22, 2022

Commits on Jul 21, 2022

  1. gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (G…

    …H-95096)
    
    The wrapper macros are more readable and match the form recommended in
    the OpenSSL documentation. They also slightly less error-prone, as the
    mapping of arguments to SSL_CTX_ctrl is not always clear. (Though in
    this case it's straightforward.)
    https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_get_max_proto_version.html
    davidben committed Jul 21, 2022
  2. gh-95010: Fix asyncio GenericWatcherTests.test_create_subprocess_fail…

    …s_with_inactive_watcher (GH-95009)
    
    The test was never run, because it was missing the TestCase class.
    The test failed because the wrong attribute was patched.
    graingert committed Jul 21, 2022

Commits on Jul 20, 2022

  1. docs: use 'recursively' in the description of rglob, and mention glob…

    …s in the os equivalences (GH-94954)
    
    The r in `rglob` stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk.
    
    Automerge-Triggered-By: GH:brettcannon
    nedbat committed Jul 20, 2022
  2. gh-82116: add comment explaining use of list(scandir_it) in pathlib. (

    GH-94939)
    
    Automerge-Triggered-By: GH:brettcannon
    barneygale committed Jul 20, 2022
  3. gh-91102: Port 8-argument _warnings.warn_explicit to Argument Clinic (#…

    …92891)
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    arhadthedev and erlend-aasland committed Jul 20, 2022
  4. gh-90016: Deprecate default sqlite3 adapters and converters (#94276)

    Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
    erlend-aasland and CAM-Gerlach committed Jul 20, 2022
Older