R. David Murray added the comment:

Because it raises an error where none was raised before, I'd only apply this to 
3.6.  This is especially true since this issue is not a *bug* report, but a 
"shouldn't this be more consistent" report.  That is, there's no great weight 
(the OP wasn't even sure it should be changed) in favor of the backport, so 
even a small possibility of breaking working code argues against the backport.

(To be clear: by working code I'm envisioning code that is getting that None 
value and using it as an error signal or treating it the same as a missing 
port.  Such code is technically "broken" but could be working if the default 
port happens to work, or the only out of range values it encounters are 
integers, or it is happy with the exception bubbling up in the non-integer 
cases.)

----------
nosy: +r.david.murray

_______________________________________
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