summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-20 14:20:36 (GMT)
committerGitHub <noreply@github.com>2017-06-20 14:20:36 (GMT)
commitd4324baca4c03eb8d55446cd1b74b32ec5633af5 (patch)
tree4144e9fae2d0d6913340f9c0ff9c96612abd0f26 /Python/getcompiler.c
parentb39a7481ee7e6166d6d2b252a7a514b1f6553dfa (diff)
downloadcpython-d4324baca4c03eb8d55446cd1b74b32ec5633af5.zip
cpython-d4324baca4c03eb8d55446cd1b74b32ec5633af5.tar.gz
cpython-d4324baca4c03eb8d55446cd1b74b32ec5633af5.tar.bz2
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2294)
The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as ``http://abc/#@def``, that is, the host is ``abc``, the path is ``/``, and the fragment is ``#@def``. (cherry picked from commit 90e01e50ef8a9e6c91f30d965563c378a4ad26de)
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions