Skip to content

v0.2.0

Choose a tag to compare

@tlambert03 tlambert03 released this 08 Nov 00:25
· 370 commits to main since this release

This release adds a number of performance improvements, and safety improvements around holding strong references to connected objects. Thanks a bunch to @Czaki for his many contributions to this release.

  • better handing of partial methods (connect(partial(obj.method)))
  • better handling of poorly decorated methods
  • new connect_setattr convenience (similar to connect(partial(setattr, obj, name)) but with weakref on obj)

also:

  • hashable objects (like MutableMapping) can now have signals
  • set PSYGNAL_UNCOMPILED env var to always run in uncompiled mode (for better debugging)

This release also establishes benchmarks over the lifetime of psygnal to ensure that performance is a top priority.

full changelog