Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-25 Thread Alan Gauld
On 25/08/13 23:34, Chris Down wrote: I am experiencing intermittent issues where an exception will be raised when calling getresponse(), which makes the entire connection stuck in Request-sent state. While this is technically within the remit of this list, since its about a standard library mod

[Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-25 Thread Chris Down
I am experiencing intermittent issues where an exception will be raised when calling getresponse(), which makes the entire connection stuck in Request-sent state. Is it possible to reset to idle state somehow without reinstantiating the HTTPSConnection? I ideally want to keep the connection to the

Re: [Tutor] verb conjugations

2013-08-25 Thread Peter Otten
Duri Denoth wrote: > Hello Tutor > > I have written a program that generates verb conjugations. > > There is a loop that generates the regular forms: > > for i in range(6): > present[i] = stem + worded_present_ar[i] An alternative way to write this is present = [stem + suffix for suffix i

[Tutor] verb conjugations

2013-08-25 Thread Duri Denoth
Hello Tutor I have written a program that generates verb conjugations. There is a loop that generates the regular forms: for i in range(6): present[i] = stem + worded_present_ar[i] For irregular verbs the correct form is set individually: present[2] = stem + worded_present_rule_7[2] This