Blinker 1.3 released

4 views
Skip to first unread message

jason kirtland

unread,
Jul 3, 2013, 6:07:32 AM7/3/13
to discorpor...@googlegroups.com
Greetings all,

Blinker 1.3 has been released. Blinker provides a fast dispatching system that allows any number of
interested parties to subscribe to events, or "signals".

This version has a behavioral incompatibility with prior versions, however it is unlikely to require changes to user code.

Changes:

- Verified against Python 3.3 and PyPy 2.0

- The global signal stash behind blinker.signal() is now backed by a regular name-to-Signal dictionary. Previously, weak references were held in the mapping and ephemeral usage in code like ``signal('foo').connect(...)`` could have surprising program behavior depending on import order of modules.

- blinker.Namespace is now built on a regular dict. Use blinker.WeakNamespace for the older, weak-referencing behavior.

- Signal.connect('text-sender') uses an alternate hashing strategy to avoid sharp edges in text identity.

Enjoy!

Cheers,
Jason

Reply all
Reply to author
Forward
0 new messages