Skip to content

Conversation

@joaoseckler
Copy link
Contributor

The method's documentation states that in python 3 it return bytes, but was previously returning strings in some situations.

The documentation of methods get_body_content and get_content states
that in python 3 they return bytes, but were previously returning strings
(in some situations).
@joaoseckler
Copy link
Contributor Author

If #293 were to be merged, this commit would need changes (i.e. replacing six.b("...") with b"..."

@a-detiste
Copy link

If #293 were to be merged, this commit would need changes (i.e. replacing six.b("...") with b"..."

replacing six.b("...") with b"..." -> this can be done anytime.

six.b() is only needed to support Python2.5

@aerkalov aerkalov merged commit 7e93102 into aerkalov:master May 6, 2025
@aerkalov
Copy link
Owner

aerkalov commented May 6, 2025

Thanks for this! Removing dependancy on six will go according to issue #318 .

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.

3 participants