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
Importing eventlet shouldn't read DNS configuration #462
Comments
|
Actually, I can't find a statement about what Python versions are supported. Perhaps you mean to support 2.6, and this needs to be fixed? |
|
Completely agree, Eventlet is doing too much on import. And it should be easy to make resolver defer reading configuration until first query. If you don't use DNS resolver, this workaround helps: Green DNS resolution will not be supported for 2.6.
|
|
Still a problem with recent eventlet (presumably 0.32.0, don't know 100%). We see |
This showed up downstream in Fedora Linux when the |
|
I've split away the DNS failure into #736 since this issue is a feature request. |
|
Hi, on my system without a DNS resolver the test still fails with the following backtrace. If you may, could you skip the tests if there is no resolver configuration on a system? |
(Note: this stack trace is because I tried to use eventlet 0.22.0 on Python 2.6, which may be unsupported. This isn't about 2.6 support)
I have
import eventletin my code, and that one line resulted in reading host configurations on the off chance that I will eventually need to perform some DNS operations. It would be better if importing eventlet didn't try to do so much on import.The text was updated successfully, but these errors were encountered: