[issue39224] HTTPConnection.timeout None support

2020-01-05 Thread Daniel Farley


New submission from Daniel Farley :

HTTPConnection's `timeout` argument is passed down to `socket.settimeout()` 
which supports `None` and puts the socket in blocking mode. This isn't 
documented on the `http.client` page. Otherwise it should not be allowed.

--
assignee: docs@python
components: Documentation
messages: 359371
nosy: Daniel Farley, docs@python
priority: normal
severity: normal
status: open
title: HTTPConnection.timeout None support
type: behavior

___
Python tracker 
<https://bugs.python.org/issue39224>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39224] HTTPConnection.timeout None support

2020-01-05 Thread Daniel Farley


Change by Daniel Farley :


--
keywords: +patch
pull_requests: +17269
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/17843

___
Python tracker 
<https://bugs.python.org/issue39224>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com