Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-28 Thread Ivan Pozdeev via Python-Dev
Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458) On 28.12.2016 21:02, Giampaolo Rodola' wrote: On Wed, Dec 28, 2016 at 3:57 PM, Ivan Pozdeev <mailto:v...@mail.mipt.ru>> wrote: On 25.12.2016 17:21, Giampaolo Rodola' wrote: From what

Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-28 Thread Giampaolo Rodola'
On Wed, Dec 28, 2016 at 3:57 PM, Ivan Pozdeev wrote: > On 25.12.2016 17:21, Giampaolo Rodola' wrote: > > From what I understand the problem should be fixed in urllib so that it > always closes the FTP connection. I understand this is what happens in > recent 3.x versions but not on 2.7. > > urlli

Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-28 Thread Ivan Pozdeev via Python-Dev
Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458) On 25.12.2016 17:21, Giampaolo Rodola' wrote: From what I understand the problem should be fixed in urllib so that it always closes the FTP connection. I understand this is what happens in recent 3.x versions but

Re: [Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-25 Thread Giampaolo Rodola'
>From what I understand the problem should be fixed in urllib so that it always closes the FTP connection. I understand this is what happens in recent 3.x versions but not on 2.7. As for ftplib, I don't like the solution of using a `transfer_in_progress` flag in all commands. I see that as a cheap

[Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-22 Thread Ivan Pozdeev via Python-Dev
I'm currently working on http://bugs.python.org/issue25458 . There are a few options there, and each one has drawbacks. So, I'd like to get some feedback on which way is prefereable before working towards any of them and/or other ideas should they arise. The problem and the options are summariz

[Python-Dev] Asking for feedback about fixing `ftplib' (issue25458)

2016-12-22 Thread Ivan Pozdeev via Python-Dev
I'm currently working on http://bugs.python.org/issue25458 . There are a few options there, and each one has drawbacks. So, I'd like to get some feedback on which way is prefereable before working towards any of them and/or other ideas should they arise. The problem and the options are summariz