issue #533: include object identity of Stream in repr()

At least one of the causes of the #533 error appears to be that streams
with the same name exist
new-serialization
David Wilson 5 years ago
parent db8f0db5e7
commit 98832f3b64

@ -1681,7 +1681,7 @@ class Stream(object):
self.transmit_side = Side(self, wfp) self.transmit_side = Side(self, wfp)
def __repr__(self): def __repr__(self):
return "<Stream %s>" % (self.name,) return "<Stream %s #%04x>" % (self.name, id(self) & 0xffff,)
def on_receive(self, broker): def on_receive(self, broker):
""" """

Loading…
Cancel
Save