As required by ScratchABit interactive disassembler,
https://github.com/pfalcon/ScratchABit . Yes, this means that when run on
Python2, there will be lists created instead of ranges, but they are small,
so the change has negligible effect on Python2, and it's the cleanest way
to achieve cross-Python compatibility.
Nice! I must admit that I like the idea of ScratchABit, as I have for some time looked for a suitable native replacement for IDA. (I considered writing an xtensa plugin for radare, but never got around...)
As required by ScratchABit interactive disassembler, https://github.com/pfalcon/ScratchABit . Yes, this means that when run on Python2, there will be lists created instead of ranges, but they are small, so the change has negligible effect on Python2, and it's the cleanest way to achieve cross-Python compatibility.