Issue #20059: urllib.parse raises ValueError on all invalid ports.

Patch by Martin Panter.
5 files changed