Change in pysim[master]: start using python3 bytearray for our b2h/h2b types

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Mar 2 19:23:16 UTC 2021


dexter has uploaded a new patch set (#9) to the change originally created by laforge. ( https://gerrit.osmocom.org/c/pysim/+/23174 )

Change subject: start using python3 bytearray for our b2h/h2b types
......................................................................

start using python3 bytearray for our b2h/h2b types

The code was written long ago, when the python3 bytearray type
probably didn't exist yet, or was at least not known.  Let's stop
using string types with binary bytes inside, and instead standardize
on two types:
 * bytearray for binary data
 * string for hexadecimal nibbles representing that binary data

Change-Id: I8aca84b6280f9702b0e2aba2c9759b4f312ab6a9
---
M pySim/cards.py
M pySim/utils.py
2 files changed, 12 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/74/23174/9
-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/23174
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I8aca84b6280f9702b0e2aba2c9759b4f312ab6a9
Gerrit-Change-Number: 23174
Gerrit-PatchSet: 9
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Assignee: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210302/534fb956/attachment.htm>


More information about the gerrit-log mailing list