On Fri, Oct 20, 2017 at 7:45 PM, Simon Sapin <simon.sa...@exyr.org> wrote:

> However the cafile parameter of urllib2.urlopen() is new in 2.7.9 and I
> don’t know how to feature-test that without making a call and catching some
> exceptions, but that seems fragile. We’re not using the ssl module directly.
>

Could try something like `'cafile' in
urllib2.urlopen.func_code.co_varnames`?

Cheers,

Dirkjan
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to