Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/cpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: encukou/cpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: no-join-in-finalize-ever
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 6 files changed
  • 1 contributor

Commits on Feb 20, 2025

  1. gh-87135: Raise PythonFinalizationError when joining a blocked daemon…

    … thread
    
    If `Py_IsFinalizing()` is true, non-daemon threads (other than the current one)
    are done, and daemon threads are prevented from running, so they
    cannot finalize themselves and become done. Joining them without timeout
    would block forever.
    
    Raise PythonFinalizationError instead of hanging.
    
    See gh-123940 for a use case: calling `join()` from `__del__`. This is
    ill-advised, but an exception should at least make it easier to diagnose.
    encukou committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    60a0ba6 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. Add blurb

    encukou committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    549d04a View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. Merge in the main branch

    encukou committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    c4afb6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4aecdf5 View commit details
    Browse the repository at this point in the history
  3. Add asserts for is_alive()

    encukou committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    e463cb8 View commit details
    Browse the repository at this point in the history
  4. Reduce diff

    encukou committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    d99b42b View commit details
    Browse the repository at this point in the history
Loading