Skip to content

Commit 49859f7

Browse files
authored
Add comment explaining the origin of workaround for _splituser (#4723)
2 parents 6ba12dc + c7df80e commit 49859f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setuptools/package_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,7 @@ def open_with_auth(url, opener=urllib.request.urlopen):
11011101

11021102

11031103
# copy of urllib.parse._splituser from Python 3.8
1104+
# See https://github.com/python/cpython/issues/80072.
11041105
def _splituser(host):
11051106
"""splituser('user[:passwd]@host[:port]')
11061107
--> 'user[:passwd]', 'host[:port]'."""

0 commit comments

Comments
 (0)