##// END OF EJS Templates
url: always use str for proxy configuration...
url: always use str for proxy configuration Previously, proxies didn't work on Python 3 for various reasons. First, the keys to the "proxies" dict are fed into a `setattr(self, "%s_open", ...)` call and passing bytestrings results in setting an oddly named attribute due to the b'' in %s formatting. This resulted in "http_open" and "https_open" not being properly overridden and proxies not being used. Second, the standard library was expecting proxy URLs to be str. And various operations (including our custom code in url.py) would fail to account for the str/bytes mismatch. This commit normalizes everything to str and adjusts our proxy code in url.py to account for the presence of str on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5952

File last commit:

r39526:96695095 default
r41859:4028897d default
Show More
PURPOSE
9 lines | 396 B | text/plain | TextLexer
This directory is meant to cache artifacts useful for tests (such as bundle).
Those artifacts need to be cached because they are slow to regenerate on each
test but too large to be tracked within the repository. They are not expected
to change between each run and can be cached.
The `./scripts/` contains code to generate the artifact while the `cache`
directory contains resulting artifact.