Skip to content

4.2.11

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 06:36
Immutable release. Only release title and notes can be modified.

Bug fixes

  • AsyncStrictSoftFileLock with a poll_interval below 0.05 seconds now spreads contended retries across a jittered, widening window like StrictSoftFileLock, instead of a fixed interval (#928) by @feiiiiii5 and @gaborbernat.
  • SoftReadWriteLock on runtimes without dir_fd other than Windows, such as GraalPy, now refuses a protocol directory another account owns under a sticky parent, as the other platforms already do (#940) by @gaborbernat.
  • A SoftFileLease garbage collected on its own heartbeat thread no longer deadlocks that thread, which left every later os.fork() in the process waiting forever (#949) by @gaborbernat.
  • A lock dropped during interpreter shutdown, including a ReadWriteLock or AsyncReadWriteLock, no longer prints an ignored exception at exit (#933) by @kushaldave002 and @gaborbernat.
  • A lock still referenced when the interpreter exits is released from an atexit handler before module teardown, except holds of daemon threads that are still running, and a thread_local=False lock while any other thread runs (#964) by @gaborbernat.
  • On Windows, lock paths that differ only in drive letter or UNC share case, such as C:\work.lock and c:\work.lock, now share one FileLock or SoftReadWriteLock singleton and trigger FileLock's same-thread deadlock detection (#929) by @subotac and @gaborbernat.
  • Releasing a soft lock whose marker a peer replaced no longer raises AttributeError on GraalPy, which lacks os.pwrite (#940) by @gaborbernat.
  • os.fork() no longer waits forever for a lock transition another thread never finishes; after 30 seconds the child exits with status 70 and the parent continues (#949) by @gaborbernat.

New Contributors

🐍 PyPI release

📜 Full Changelog