We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was able to compile and install yard under python3. 2to3 takes care of everything except one line in utils.py
on line 145 in utils.py change
table = maketrans(sep, "_"*len(sep))
to
table = dict((ord(x), y) for (x, y) in zip(sep, "_"*len(sep)))
and remove this import from the top
from string import maketrans
The text was updated successfully, but these errors were encountered:
Hmmm. I believe maketrans is still there in Python 3.x but it has been made a static method of the str class. How about this one?
maketrans
str
try: from string import maketrans except ImportError: maketrans = str.maketrans
Implemented in 43ed7e9. Let me know if it doesn't work for you.
Sorry, something went wrong.
Cool! Yes it works fine. But this isn't the change you made in 43ed7e9 is not this :)
Wow, that's awkward. Thanks. :) Fixed in c30f83a.
No branches or pull requests
I was able to compile and install yard under python3. 2to3 takes care of everything except one line in utils.py
on line 145 in utils.py change
to
and remove this import from the top
The text was updated successfully, but these errors were encountered: