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

Fix Python3 support #127

Closed
wants to merge 1 commit into from
Closed

Fix Python3 support #127

wants to merge 1 commit into from

Conversation

boppreh
Copy link

@boppreh boppreh commented Sep 27, 2015

iteritems was removed in Python3. This change replaces iteritems with items. It does impact Python2 semantics a little (it creates a temporary list), but since the number of headers in a email is small, it should not impact performance and definitely not functionality.

This fixes #126 .

`iteritems` was removed in Python3. This change impacts Python2 semantics a little (it creates a temporary list), but since the number of headers in a email is small, it should not impact performance and definitely not functionality.
@boppreh boppreh changed the title Fix Python3 support ( fixes #126 ) Fix Python3 support Sep 27, 2015
@tgwizard
Copy link

👍

@thinkingserious
Copy link
Contributor

Thanks @boppreh! This pull request fixes this issue: #128

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.

SendGrid 1.4.3 broken in Python 3, introduce via iteritems
3 participants