Skip to content

Commit c7df80e

Browse files
committed
Add comment explaining the origin of workaround for splituser
1 parent fcdaf02 commit c7df80e

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
@@ -1104,6 +1104,7 @@ def open_with_auth(url, opener=urllib.request.urlopen):
11041104

11051105

11061106
# copy of urllib.parse._splituser from Python 3.8
1107+
# See https://github.com/python/cpython/issues/80072.
11071108
def _splituser(host):
11081109
"""splituser('user[:passwd]@host[:port]')
11091110
--> 'user[:passwd]', 'host[:port]'."""

0 commit comments

Comments
 (0)