Martin Panter added the comment:

Mapping out-of-range ports to None was added in Issue 14036, though I don’t 
understand why that approach was taken instead of raising ValueError. Here is a 
patch to raise ValueError for out-of-range integer values instead.

----------
keywords: +patch
Added file: http://bugs.python.org/file38073/port-ValueError.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20059>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to