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

Make addresslib Python 3 compatible #174

Merged
merged 1 commit into from
Oct 30, 2017
Merged

Make addresslib Python 3 compatible #174

merged 1 commit into from
Oct 30, 2017

Conversation

horkhe
Copy link
Member

@horkhe horkhe commented Oct 19, 2017

This PR makes flanker/addresslib Python 3 compatible.

The current functionality when running in Python 2 is not changed. In Python 3 we expect text inputs (str) and all methods that return string types (str/unicode) in Python 2 are returning str unconditionally.

The only problem that I have not yet fixed is that ASCII separator symbols 0x1c, 0x1d, 0x1e, 0x1f for some reason became allowed in the display name in Python 3.

@pudo
Copy link

pudo commented Oct 23, 2017

This is amazing news. Is there a sense of when Python 3 support may be released?

@horkhe
Copy link
Member Author

horkhe commented Oct 24, 2017

@pudo I am working on it. Although we at Mailgun do not use Python 3, so this is a side project for me.

@b0d0nne11 could you please take a look at the changes.

Copy link
Contributor

@b0d0nne11 b0d0nne11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@horkhe horkhe merged commit 96cbf2c into master Oct 30, 2017
@JamesMcGuigan
Copy link

If flanker now has full python 3 compatibility, would it be possible to possible to push a new release to PyPi such that it can be easily installed via pip?

@horkhe
Copy link
Member Author

horkhe commented Dec 6, 2017

@JamesMcGuigan unfortunately Flanker does not have full Python 3 compatibility yet. Only a limited set of packages is Python 3 compatible. I have not been able to continue the work due to lack of time.

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.

4 participants