Skip to content

Make SSL warning list the correct Python versions #924

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

Merged
merged 1 commit into from
Jan 4, 2017
Merged

Make SSL warning list the correct Python versions #924

merged 1 commit into from
Jan 4, 2017

Conversation

jeffwidman
Copy link
Contributor

Was a bit surprised to see this warning being thrown even though we're already on 2.7

According to the Python docs, the new SSL error classes were added in 2.7.9 and 3.3, so I updated the warning:
https://docs.python.org/3/library/ssl.html?highlight=ssl#ssl.SSLZeroReturnError
https://docs.python.org/2/library/ssl.html#ssl.SSLZeroReturnError

Was a bit surprised to see this warning being thrown even though we're already on 2.7

According to the Python docs, the new SSL error classes were added in 2.7.9 and 3.3, so I updated the warning:
https://docs.python.org/3/library/ssl.html?highlight=ssl#ssl.SSLZeroReturnError
https://docs.python.org/2/library/ssl.html#ssl.SSLZeroReturnError
@jeffwidman
Copy link
Contributor Author

jeffwidman commented Dec 30, 2016

Also, I opened #925 as I'd prefer this warning only be happen if we're actually using SSL. I don't see much point in throwing it for PLAINTEXT connections. But I think that should be a separate PR.

@dpkp dpkp merged commit cfb5f0e into dpkp:master Jan 4, 2017
@jeffwidman jeffwidman deleted the patch-2 branch January 4, 2017 22:59
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Apr 7, 2017
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.

2 participants