Comparing python:main...encukou:no-join-in-finalize-ever · python/cpython (original) (raw)

Permalink

Checking mergeability… Don’t worry, you can still create the pull request.

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
    Configuration menu
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. Configuration menu
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. Configuration menu
    Browse the repository at this point in the history
  2. Configuration menu
    Browse the repository at this point in the history
  3. Configuration menu
    Browse the repository at this point in the history
  4. Configuration menu
    Browse the repository at this point in the history