[docs] [issue12706] timeout sentinel in ftplib and poplib

Senthil Kumaran report at bugs.python.org
Sun Aug 7 10:33:01 CEST 2011


New submission from Senthil Kumaran <senthil at uthcode.com>:

- ftplib and poplib, has them as timeout=None, while they default                                                                               
 to socket._GLOBAL_DEFAULT_TIMEOUT object.                                                                                                           
                                                                                                                                                      
This is wrong; someone may pass None thinking it will trigger the                                                                                     
default behaviour, and have nasty surprises.

----------
assignee: docs at python
messages: 141740
nosy: docs at python, orsenthil
priority: normal
severity: normal
stage: needs patch
status: open
title: timeout sentinel in ftplib and poplib
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

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


More information about the docs mailing list