taucmdr icon indicating copy to clipboard operation
taucmdr copied to clipboard

Python 3 migration

Open zbeekman opened this issue 4 years ago • 0 comments

Python 2 has reached EOL and we need to migrate to python 3 ASAP.

Requirements to be able to do this robustly are:

The biggest challenge is surrounding Python 3's handling of strings using two different underlying types: One uses encoding as byte strings and the other is UTF-8 encoded. The arguments on stdin and results on stdout and stderr from spawned processes are especially challenging to detect and convert.

Type checking will make debugging easier in general, and will enable catching cases were there is an unexpected type mismatch in arguments.

zbeekman avatar Mar 05 '20 16:03 zbeekman