Jonathan <[email protected]> added the comment:
Arguably the same logic applies to out-of-range ports:
> a = urlsplit('http://example.com:4444444')
> a.port
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "E:\Software\_libs\Python36\lib\urllib\parse.py", line 169, in port
raise ValueError("Port out of range 0-65535")
ValueError: Port out of range 0-65535
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33034>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com