New submission from Claudiu.Popa:

To be precise, when running test_urllib on a machine with a local FTP server, 
but with a set of credentials different than the ones used by 
test_urllib.urlopen_HttpTests.test_ftp_nonexisting. In this case, ftpwrapper 
from urllib.request will succesfully connect to the FTP server, but it will 
fail when sending the credentials, leaving the connection opened. The attached 
patch tries to fix this.

----------
components: Library (Lib)
files: urllib_ftp_resource_warning.patch
keywords: patch
messages: 219671
nosy: Claudiu.Popa
priority: normal
severity: normal
status: open
title: urllib urlopener leaves open sockets for FTP connection
type: resource usage
versions: Python 3.5
Added file: http://bugs.python.org/file35467/urllib_ftp_resource_warning.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to