Attention is currently required from: laforge.
dexter has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/python/pyosmocom/+/39193?usp=email )
Change subject: construct: allow stripping of leading zeros with StripTrailerAdapter ......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS2:
please implement this as a new adapter. […]
I had that in mind too, but I wasn't sure if this would create too much code dup. I have added StripHeaderAdapter now. However, I am not sure about how much code we could really put into a base class. As far as I can see only the constructor could be shared. The majority of the code is very similar, but it is different. I think we should keep it like that.