Attention is currently required from: Hoernchen, laforge.
Patch set 1:Code-Review +1
3 comments:
File pySim/bip.py:
Patch Set #1, Line 83: class ProactChannel:
I see below you are just overloading entire methods (e.g. the connect method), without ever calling the related method in this superclass.
How about an abstract ProactChannel(abc.ABC) class that has the skeleton with abstract methods. Then you can have a ProactTcpChannel(ProactChannel). I think this would be a lot cleaner.
Patch Set #1, Line 233: name='bip-rx-%d' % self.chan_nr, daemon=True)
This (thread creation) is a code dup you could easily get rid off with the approach I mentioned above.
Patch Set #1, Line 297: """Create a new proactive channel, allocating its integer number."""
I recommend to document proto in the apidoc.
To view, visit change 43716. To unsubscribe, or for help writing mail filters, visit settings.