Attention is currently required from: daniel, dexter, laforge.
10 comments:
File pySim/bip.py:
Patch Set #2, Line 30: # Without them the handler builds and logs what it would send.
I would move such documentation into the API docstrings of the class. […]
Done
Patch Set #2, Line 64: bandwidth..
This explains why we have moved away from twisted. I would put this into a normal comment. […]
Done
Patch Set #2, Line 119: if was_empty and not self._closing:
I think its important to document why we only notify when the buffer was empty. […]
Done
Patch Set #2, Line 126: def rx_available(self) -> int:
Missing API doc […]
Done
Patch Set #2, Line 175: def __init__(self, on_data_available=None):
I think here it is in particular important to put an API docstring and to document the on_data_avail […]
Done
Patch Set #2, Line 189: def channel_delete(self, chan_nr: int):
maybe add a docstring?
Done
Patch Set #2, Line 192: def notify_data_available(self, chan: ProactChannel):
The ProactChannel object is created by the channel_create method in this class. […]
The back reference is not only for the notification, ProactChannel.close() also removes itself from ProactChannels via channel_delete. Dropping it would move that bookkeeping into every caller of close() so I kept it as is.
Patch Set #2, Line 199: def __init__(self, data_available_sink=None, sms_sink=None):
Explain the parameters in an API docstring. In particular the data_available_sink is important here. […]
Done
Patch Set #2, Line 268: def build_data_available_envelope(self, chan: ProactChannel) -> bytes:
As far as I can see this is called from _on_channel_data_available only. […]
Done
Patch Set #2, Line 392: def handle_ReceiveData(self, pcmd: ProactiveCommand):
maybe add some more API doc on how to use this function? As far as I understood, this is to be calle […]
Done
To view, visit change 43545. To unsubscribe, or for help writing mail filters, visit settings.