[issue14425] Improve handling of 'timeout' parameter default in urllib.urlopen

Senthil Kumaran report at bugs.python.org
Sat Apr 7 13:08:08 CEST 2012


Senthil Kumaran <senthil at uthcode.com> added the comment:

Hi David,

I am sorry, I did not notice your second comment in this bug and later when you closed this, noticed the bug report. 

Yes, the default=None but actually pointing to a sentinel value is an odd duck and I believe the explanation in  docs were updated a couple of times to inform user of that behavior, but still the signature gives a feeling that it could be improved. I am at loss as well in terms of giving an "easy solution" to fix the docs.

Thanks,
Senthil

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14425>
_______________________________________


More information about the Python-bugs-list mailing list