Skip to content

1.0.8

Choose a tag to compare

@oconnor663 oconnor663 released this 14 Oct 06:32
· 24 commits to master since this release
version 1.0.8

Changes since 1.0.7:
- Set `gil_used = false`, to avoid activating the GIL when this module
  is imported in freethreaded builds. We already managed the
  blake3::Hasher with a Mutex internally, so not much else needed to
  change.
- Fix a soundness bug where we released PyBuffer objects before we
  finished reading the underlying bytes. This made it possible for other
  threads to race to resize the buffer, which could've cause a
  use-after-free. Now with the PyBuffer retained, other threads that try
  to do that will fail and raise an exception.