radare2-extras icon indicating copy to clipboard operation
radare2-extras copied to clipboard

Upgrade python2 scripts to python3

Open createyourpersonalaccount opened this issue 2 years ago • 0 comments

Description

I would like all mentions of python to be python3 in radare2. Is this a good idea? I stumbled upon this issue on a fresh install of Debian unstable, when I ran r2pm install r2dec. There was an error about python not found, and upon further inspection I've realized that a lot of radare relies on python2 scripts and has plenty of lines such as

#1/usr/bin/env python

which I believe would be better replaced with the explicit python3, and the source code of the scripts converted for that version of python.

Python2 reached EOL in January of 2020, and shouldn't be used any more.

I can try to undertake this task, but no promises! It might be too much. I'm just inquiring if there's any interest before I even attempt it.