Consider dropping support for python 2
Issue #17
new
Having to interoperate between python 2 and python 3 is somewhat annoying.
Also, python 3 supports type hints (https://docs.python.org/3/library/typing.html) which python 2 doesn't.
It would be nice if we could drop support for python 2 and require python 3. Then we wouldn't have to worry about the interop, and could use type hints.
Comments (2)
-
reporter -
reporter - changed title to Consider dropping support for python 2
(Fix misleading typo in issue title)
- Log in to comment
A few things I discovered while looking into this:
rr replay
is not actually a fork of gdb. It uses the gdb that's installed on your system. So, howrr
itself is built does not matter.So, if we only cared about Debian, and we are willing to assume people don't build their own gdb (which they generally shouldn't need to), we could drop python 2 support without problems.
Of course, I don't only care about Debian; I'd like to check the python versions of the gdb packages shipping in other major Linux distributions (and, once issue
#4is fixed, in macOS), before proceeding.