def pathname2url(pathname):
        return quote(pathname)

# This really consists of two pieces:
# (1) a class which handles opening of all sorts of URLs
#     (plus assorted utilities etc.)
# (2) a set of functions for parsing URLs
# XXX Should these be separated out into different modules?


# Shortcut for basic usage
Return a context manager used by captured_stdout (and optionally others)
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/urllib.py/pathname2url--crossover with--dataset/ETHPy150Open tysonclugg/rinse/rinse/tests/utils.py/captured_output