[Sqlalchemy-commits] commit/sqlalchemy: 5 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2013-07-26 18:25:47
|
5 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/878d644ddc61/ Changeset: 878d644ddc61 Branch: None User: zzzeek Date: 2013-07-26 20:00:02 Summary: add ORM specific removal tests, implement remove for held events Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/657644aab07e/ Changeset: 657644aab07e Branch: None User: zzzeek Date: 2013-07-26 20:00:24 Summary: Merge branch 'master' into ticket_2268 Affected #: 18 files https://bitbucket.org/zzzeek/sqlalchemy/commits/122a775c15f0/ Changeset: 122a775c15f0 Branch: None User: zzzeek Date: 2013-07-26 20:06:14 Summary: don't need _remove() methods Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/162190f5044d/ Changeset: 162190f5044d Branch: ticket_2268 User: zzzeek Date: 2013-07-26 20:21:36 Summary: docs, changelog Affected #: 4 files https://bitbucket.org/zzzeek/sqlalchemy/commits/4505425a38b0/ Changeset: 4505425a38b0 Branch: master User: zzzeek Date: 2013-07-26 20:21:58 Summary: - Removal of event listeners is now implemented. The feature is provided via the :func:`.event.remove` function. [ticket:2268] - reorganization of event.py module into a package; with the addition of the docstring work as well as the new registry for removal, there's a lot more code now. the package separates concerns and provides a top-level doc for each subsection of functionality - the remove feature works by providing the EventKey object which associates the user-provided arguments to listen() with a global, weak-referencing registry. This registry stores a collection of _ListenerCollection and _DispatchDescriptor objects associated with each set of arguments, as well as the wrapped function which was applied to that collection. The EventKey can then be recreated for a removal, all the _ListenerCollection and _DispatchDescriptor objects are located, and the correct wrapped function is removed from each one. Affected #: 16 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |