Skip to content
Permalink
master

Commits on Feb 12, 2021

  1. bpo-43172: readline now passes its tests when built against libedit (G…

    …H-24499)
    
    bpo-43172: readline now passes its tests when built against libedit.
    
    Existing irreconcilable API differences remain in readline.get_begidx
    and readline.get_endidx behavior based on libreadline vs libedit use.
    A note about that has been documented.
    gpshead committed Feb 12, 2021
  2. bpo-43204: Fix LibTomCrypt URL in md5module.c and sha*module.c commen…

    …ts (GH-24507)
    
    Automerge-Triggered-By: GH:tiran
    erlend-aasland committed Feb 12, 2021
  3. bpo-43202: Immediately return code object in codeop._maybe_compile (G…

    …H-24508)
    
    The return used to be after code that was ignored when there was a code object.
    terryjreedy committed Feb 12, 2021
  4. bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)

    methane committed Feb 12, 2021

Commits on Feb 10, 2021

  1. Fix link to sqlite3 enable_shared_cache documentation (GH-24496)

    orf committed Feb 10, 2021

Commits on Feb 9, 2021

  1. bpo-43163: Handle unclosed parentheses in codeop (GH-24483)

    pablogsal committed Feb 9, 2021
  2. bpo-43166: Disable ceval.c optimisations for Windows debug builds (GH…

    …-24485)
    
    This ensures that ceval.c can be debugged.
    Also remove some irrelevant options from the pragma.
    zooba committed Feb 9, 2021
  3. Improve docs of PEP 604 Union (#24301)

    Fidget-Spinner committed Feb 9, 2021
  4. bpo-43162: [Enum] deprecate enum member.member access (GH-24486)

    In 3.5 (?) a speed optimization made it possible to access members as
    attributes of other members, i.e. ``Color.RED.BLUE``.  This was always
    discouraged in the docs, and other recent optimizations has made that
    one no longer necessary.  Because some may be relying on it anyway, it
    is being deprecated in 3.10, and will be removed in 3.11.
    ethanfurman committed Feb 9, 2021
  5. bpo-13501: allow choosing between readline and libedit (GH-24189)

    In contrast to macOS, libedit is available as its own include file and
    library on Linux systems to prevent file name clashes. So if both
    libraries are available on the system, readline is currently chosen by
    default; and if only libedit is available, it is not found at all. This
    patch adds a way to link against libedit by adding the following
    arguments to configure:
    
      --with-readline           link against libreadline (the default)
      --with-readline=editline  link against libeditline
      --with-readline=no        disable building the readline module
      --without-readline        (same)
    
    The runtime detection of libedit vs. readline was already done in commit
    7105319 (2019-12-04, serge-sans-paille: "bpo-38634: Allow
    non-apple build to cope with libedit (GH-16986)").
    
    Fixes: GH-12076 ("bpo-13501 Build or disable readline with Editline")
    Fixes: bpo-13501 ("Make libedit support more generic; port readline / libedit to FreeBSD")
    Co-authored-by: Enji Cooper (ngie-eign)
    Co-authored-by: Martin Panter (vadmium)
    Co-authored-by: Robert Marshall (kellinm)
    rohieb committed Feb 9, 2021

Commits on Feb 8, 2021

  1. bpo-40692: Run more test_concurrent_futures tests (GH-20239)

    In the case of multiprocessing.synchronize() being missing, the
    test_concurrent_futures test suite now skips only the tests that
    require multiprocessing.synchronize().
    
    Validate that multiprocessing.synchronize exists as part of
    _check_system_limits(), allowing ProcessPoolExecutor to raise
    NotImplementedError during __init__, rather than crashing with
    ImportError during __init__ when creating a lock imported from
    multiprocessing.synchronize.
    
    Use _check_system_limits() to disable tests of
    ProcessPoolExecutor on systems without multiprocessing.synchronize.
    
    Running the test suite without multiprocessing.synchronize reveals
    that Lib/compileall.py crashes when it uses a ProcessPoolExecutor.
    Therefore, change Lib/compileall.py to call _check_system_limits()
    before creating the ProcessPoolExecutor.
    
    Note that both Lib/compileall.py and Lib/test/test_compileall.py
    were attempting to sanity-check ProcessPoolExecutor by expecting
    ImportError. In multiprocessing.resource_tracker, sem_unlink() is also absent
    on platforms where POSIX semaphores aren't available. Avoid using
    sem_unlink() if it, too, does not exist.
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    paulproteus and pablogsal committed Feb 8, 2021
  2. bpo-43147: Remove archaic terminology. (GH-24462)

    rhettinger committed Feb 8, 2021

Commits on Feb 7, 2021

  1. bpo-43149: Improve error message for exception group without parenthe…

    …ses (GH-24467)
    pablogsal committed Feb 7, 2021
  2. bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-…

    …2446)
    
    These 3 statements cannot be used at module scope -- nor in exec with one namespace.
    terryjreedy committed Feb 7, 2021

Commits on Feb 5, 2021

  1. Simple typo fix (GH-24448)

    atenni committed Feb 5, 2021
  2. Fix a typo in a deprecation warning (GH-24423)

    ZackerySpytz committed Feb 5, 2021
  3. bpo-43132: Fix incorrect handling of PyObject_RichCompareBool() in _z…

    …oneinfo (GH-24450)
    
    PyObject_RichCompareBool() returns -1 on error, but this case is
    not handled by the find_in_strong_cache() function.  Any exception
    raised by PyObject_RichCompareBool() should be propagated.
    ZackerySpytz committed Feb 5, 2021
  4. Minor readability improvements. Also note performance impact of __slo…

    …ts__. (GH-24456)
    rhettinger committed Feb 5, 2021
  5. Reduce overhead on random timings (GH-24455)

    rhettinger committed Feb 5, 2021
  6. bpo-35295: Remove outdated comment. (GH-24453)

    methane committed Feb 5, 2021

Commits on Feb 4, 2021

  1. bpo-42882: Fix MSVC warnings in pystate.c (GH-24440)

    _PyRuntimeState.unicode_ids.next_index type is Py_ssize_t.
    Fidget-Spinner committed Feb 4, 2021
  2. build(deps): bump actions/cache from v2.1.3 to v2.1.4 (#24446)

    Bumps [actions/cache](https://github.com/actions/cache) from v2.1.3 to v2.1.4.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Commits](actions/cache@v2.1.3...26968a0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot committed Feb 4, 2021
  3. Fix dependabot.yml file (GH-24443)

    The `target-branch` field doesn't seem to support array.
    Since it defaults to the default branch anyway, we should just remove the `target-branch` field from the config.
    Mariatta committed Feb 4, 2021

Commits on Feb 3, 2021

  1. bpo-43121: Fix incorrect SyntaxError message for missing comma (GH-24436

    )
    pablogsal committed Feb 3, 2021
  2. Fix typo (GH-23019)

    Fixed possible typo in comment
    Harry-Lees committed Feb 3, 2021
  3. build(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-2…

    …4411)
    
    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v2.2.1...e448a9b)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot committed Feb 3, 2021
  4. Post 3.10.0a5

    pablogsal committed Feb 3, 2021
  5. Merge tag 'v3.10.0a5'

    Python 3.10.0a5
    pablogsal committed Feb 3, 2021
  6. bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394)

    diegoe committed Feb 3, 2021
Older