Parent Directory
|
Revision Log
Sticky Revision: |
made a copy
(Publisher): Introdcue a new flag, _was_destroyed, to indicate whether an publisher instance has already been destroyed. (Publisher.Unsubscribe): Only disconnect if the publisher has not been destroyed yet. (Publisher.Destroy): Set the _was_destroyed flag to true.
(Conduit): New class to help classes that forward messages
(QueueingPublisher): Removed. This class was never used in Thuban.
* Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy of the receivers list so that unsubscribing in a receiver doesn't modify it while iterating over it. * test/test_connector.py (ConnectorTest.test_disconnect_in_receiver): New. Test whether unsubscribing in a receiver works correctly. See docstring for details
Replace user string by _() for i18n.
* Thuban/Lib/connector.py (Connector.print_connections): Print the puiblisher's ids in hex to make it easier to compare them to the standard repr of python methods
import all the source files
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |