Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "xrange" with "range" for Python3 compatibility. #3

Merged
merged 1 commit into from
Apr 26, 2015
Merged

Replace "xrange" with "range" for Python3 compatibility. #3

merged 1 commit into from
Apr 26, 2015

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Apr 26, 2015

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.

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.
@themadinventor
Copy link
Owner

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...)

themadinventor added a commit that referenced this pull request Apr 26, 2015
Replace "xrange" with "range" for Python3 compatibility.
@themadinventor themadinventor merged commit ad297b0 into themadinventor:master Apr 26, 2015
@pfalcon pfalcon deleted the python3-compat branch June 13, 2015 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants