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

Added basestring check to image.py #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jacob-Mowat
Copy link

Noticed errors when using Python3.6 when the Image.resize() method did a instance check on basestring. I noted in the commit message that a possibility would be to continue using the try..catch statement to define basestring if it doesn't exist, but the option remains of using packages like six and future.utils. However this would mean importing more packages which would be inefficient for just a basestring implementation/replacement.

…t behind by me), using basestring defined in commit instead of six.string_types. Future versions could use possibly Six.string_types or future.utils version of string_types
@Jacob-Mowat
Copy link
Author

Seems all tests from the travis-ci failed at:
The command "sphinx-build docs gh-pages" exited with 2.

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.

1 participant