Comment on the rationale of isvalidport() after Python 2.7.4 update