Patch Set 6: > > why you want to make the py2 scripts py3 compatible > > Because it's 1) easy, 2) testable 3) makes them future proof when > python 2 is retired.
py2->3 migration is more than print(), there's at least the handling of character encoding which is quite different as well. So you won't know that the migration worked out until you've actually run it with py3 (with some odd characters involved). try:..except: statements are different. and so forth... so I'm still a bit sceptical on the whole idea, but if you say it works... -- To view, visit https://gerrit.osmocom.org/5038 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I80e5850a8978d78cda793e2192ef4bd3fd54a121 Gerrit-PatchSet: 6 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <[email protected]> Gerrit-Reviewer: Neels Hofmeyr <[email protected]> Gerrit-Reviewer: Pau Espin Pedrol <[email protected]> Gerrit-HasComments: No
