Maybe we could just convert the script and explicitly request python 3 since
python 2 is EOL?
-Jiri
---------- Původní e-mail ----------
Od: Jiri Svoboda <[email protected]>
Komu: [email protected]
Datum: 30. 6. 2020 14:42:24
Předmět: [HelenOS-devel] Python 3 vs python 2
"
Hi,
I upgraded to Fedora 32, which has Python 3 as the system default python.
tools/ew.py stopped working because module thread does not exist in Python 3
(was renamed to _thread). I don't know if it's possible to make it work both
with Python 2 and Python 3. All our python scripts run system default Python
(whether it is 2 or 3).
Anybody knows what is the right approach to solving this? Somehow make the
script work with both versions (how?). Request Python 2 explicitly? Change
it to work with Python 3 and request Python3 explicitly?
Any suggestions from somebody more knowledgeable in our Python scripts?
Thanks,
Jiri
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel
"
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel