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

Both Python 2/3 compatibility #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

manicmaniac
Copy link

@manicmaniac manicmaniac commented Jul 11, 2023

Recent macOS does not bundle Python 2 but Python 3 so I updated the source code to adapt both Python 2 and 3 interpreter.

Although most changes are automatically generated by 2to3, I manually added some minor changes to improve compatibility.

I tested some basic functionalities like -l -a -d --dump in both interpreter (2.7 and 3.11) and confirmed it works well.

@ADVTOOLS ADVTOOLS deleted a comment from pquerner Aug 20, 2023
@ADVTOOLS ADVTOOLS deleted a comment from pquerner Aug 20, 2023
@ADVTOOLS ADVTOOLS deleted a comment from pquerner Aug 20, 2023
@dreampiggy
Copy link

Seems works for me on macOS 14.5 M1 Mac

Usage: https://apple.stackexchange.com/questions/300203

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.

2 participants