python-goto
python-goto copied to clipboard
Adds Python3.8 support
Based on PR #21, adds python3.8 support (previously part of the 'fix2' PR)
Details:
- Python 3.8 adds another parameter to CodeType constructor, but also luckily adds a replace method to make code construction more version-independent.
- Python 3.8 removes SETUP_LOOP, so in this situation, we rely on FOR_ITER and POP_TOP instead.
Can you rebase this pull request? (Or alternatively merging master
back into your branch does as well.)
FYI the "Various minor crash/etc fixes" one doesn't fail checks, probably best to skip this PR and merge that. (No point in trying to analyze an already fixed bug)
So you are suggesting to merge #22 before merging this PR? Fine with me, just rebase (or merge) #22 against the current master
, and I have a look.
Yes, let's focus on #22 instead of this PR. It's provided here so you can review it as a "step" separate from #22, but it's evidently missing some fixes included in #22 and there's no reason to start digging which fix is needed.
(And I don't see a reason to remove the py38 changes from the #22 PR before merging it, you've already reviewed them here, it'd just be extra busywork)
It's already merged against master, and I'll fix it up per your comments and flake8 shortly