On 2017-08-22, Chris Angelico <[email protected]> wrote: > On Wed, Aug 23, 2017 at 5:06 AM, Jon Ribbens <[email protected]> > wrote: >> I have no idea what you mean here. The only sane way to implement the >> request timeout is to provide both types of timeout. > > You could provide both, but since one of them can be handled > externally (with a thread, with a SIGALRM, or with some other sort of > time limiting), the other one MUST be provided by the request.
I am interested to learn what you mean by "with a thread". How would one execute a requests, er, request in a thread with a proper timeout? -- https://mail.python.org/mailman/listinfo/python-list
