Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inaccuracy in httplib timeout documentation #46704

Closed
jjlee mannequin opened this issue Mar 21, 2008 · 3 comments
Closed

inaccuracy in httplib timeout documentation #46704

jjlee mannequin opened this issue Mar 21, 2008 · 3 comments
Assignees
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir

Comments

@jjlee
Copy link
Mannequin

jjlee mannequin commented Mar 21, 2008

BPO 2452
Nosy @birkenfeld, @facundobatista

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-05-11.11:09:43.841>
created_at = <Date 2008-03-21.23:23:26.487>
labels = ['library', 'docs']
title = 'inaccuracy in httplib timeout documentation'
updated_at = <Date 2008-05-11.11:09:43.840>
user = 'https://bugs.python.org/jjlee'

bugs.python.org fields:

activity = <Date 2008-05-11.11:09:43.840>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-05-11.11:09:43.841>
closer = 'georg.brandl'
components = ['Documentation', 'Library (Lib)']
creation = <Date 2008-03-21.23:23:26.487>
creator = 'jjlee'
dependencies = []
files = []
hgrepos = []
issue_num = 2452
keywords = []
message_count = 3.0
messages = ['64295', '64298', '66623']
nosy_count = 4.0
nosy_names = ['georg.brandl', 'facundobatista', 'jjlee', 'amak']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue2452'
versions = ['Python 2.6']

@jjlee
Copy link
Mannequin Author

jjlee mannequin commented Mar 21, 2008

The documentation for the new timeout support in 2.6 states that "If the
optional timeout parameter is given, connection attempts will timeout
after that many seconds". In fact, other non-blocking. The only
operation that might block for longer than the requested timeout is the
getaddrinfo() in socket.create_connection().

There may be similar inaccuracies in the docs of other modules to which
timeout support was added.

@jjlee jjlee mannequin assigned birkenfeld Mar 21, 2008
@jjlee jjlee mannequin added docs Documentation in the Doc dir stdlib Python modules in the Lib dir labels Mar 21, 2008
@jjlee
Copy link
Mannequin Author

jjlee mannequin commented Mar 21, 2008

Oops, un-finished sentence in my opening comment ("In fact, other
non-blocking.") should have read:

In fact, other blocking operations will also time out.

@birkenfeld
Copy link
Member

Thanks, fixed in r63058.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant