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

Incompatible with Python 3 #9

Open
aendra-rininsland opened this issue Oct 1, 2018 · 1 comment
Open

Incompatible with Python 3 #9

aendra-rininsland opened this issue Oct 1, 2018 · 1 comment

Comments

@aendra-rininsland
Copy link
Collaborator

Hi!
I'm trying to migrate Gendermeme to a Python 3 environment and the old style imports are messing me up. Past Python 2.5, files in the same package should be referenced using dot notation:

from .gender import gender_special

PR forthcoming.

@aendra-rininsland
Copy link
Collaborator Author

Also, the short unicode escapes in analysis/gender.py are breaking things with the following:

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-5: truncated \UXXXXXXXX escape

aendra-rininsland pushed a commit to aendra-rininsland/gendermeme-core that referenced this issue Oct 1, 2018
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

No branches or pull requests

1 participant