<p>gnutoo <strong>uploaded patch set #17</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/15504">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[DO NOT MERGE YET] Python2 is deprecated, switch to Python3<br><br>This also makes sure that the tests are run with python3.<br><br>This shound't be merged yet as part of the code still needs<br>to be converted to python3.<br><br>While this seem to work fine with ./pySim-read.py -p 0,<br>other transports like the the serial and the osmocom<br>tranports still depend on having python2 string encoding.<br><br>This is for instance visible mostly in the PDU encoding<br>where it depends on ord() which is different between<br>python2 and python3.<br><br>For python2 we have:<br>    ord(c) -> integer<br>    Return the integer ordinal of a one-character string.<br>whereas for python3 we have:<br>    ord(c, /)<br>    Return the Unicode code point for a one-character string.<br><br>Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org><br>Change-Id: I430d173535e0cd5bb895b9dfc9070cbc40cfc8ff<br>---<br>M README.md<br>M contrib/jenkins.sh<br>M pySim-prog.py<br>M pySim-read.py<br>M pySim/card_handler.py<br>M pySim/cards.py<br>M pySim/commands.py<br>M pySim/exceptions.py<br>M pySim/transport/__init__.py<br>M pySim/transport/calypso.py<br>M pySim/transport/pcsc.py<br>M pySim/transport/serial.py<br>M pySim/ts_51_011.py<br>M pySim/utils.py<br>M tests/pysim-test.sh<br>15 files changed, 21 insertions(+), 25 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/04/15504/17</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/15504">change 15504</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/15504"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I430d173535e0cd5bb895b9dfc9070cbc40cfc8ff </div>
<div style="display:none"> Gerrit-Change-Number: 15504 </div>
<div style="display:none"> Gerrit-PatchSet: 17 </div>
<div style="display:none"> Gerrit-Owner: gnutoo <GNUtoo@cyberdimension.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>