Use the Async DNS resolver where possible. Closes #543.
Needs https://github.com/aio-libs/aiobotocore/pull/906 first. I'll add tests once that's merged.
Why is this not default? :)
It needs an extra package installed I guess. I'm not really sure
It needs an extra package installed I guess. I'm not really sure
If this is a third party dependency, wouldn't it make sense to ask clients to pass it instead of embedding it directly into s3fs? AFAIK you should be able to customize config_kwargs.
Sure, but if you look at #543 there is a very annoying case where this is basically required.
If you use s3fs with the logging module then during interpreter shutdown it's more than likely that the files just won't be closed correctly.
So I feel like the aiodns resolver should be the default if it's available.