Serhiy Storchaka
43767638a9
Issue #18702 : All skipped tests now reported as skipped.
2013-11-03 21:31:38 +02:00
Serhiy Storchaka
2acc456c33
Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 17:02:10 +03:00
Serhiy Storchaka
c30b178cbc
Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:58:27 +03:00
Benjamin Peterson
42686e45c1
merge 3.3 ( #19118 )
2013-09-29 10:51:08 -04:00
Benjamin Peterson
f8ab76039b
remove duplicate test_mkd ( closes #19118 )
2013-09-29 10:51:00 -04:00
Antoine Pitrou
1e440cf5a2
Issue #18792 : Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.
2013-08-22 00:39:46 +02:00
Antoine Pitrou
f6fbf56071
Issue #18792 : Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.
2013-08-22 00:39:46 +02:00
Senthil Kumaran
07abe7aedb
merge from 3.3
...
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
2013-08-12 22:26:14 -07:00
Senthil Kumaran
0d53860e2c
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
2013-08-12 22:25:27 -07:00
Florent Xicluna
c2464bf5c6
test_ftplib: silence a BytesWarning when checking TypeError
2013-07-06 15:08:29 +02:00
Florent Xicluna
5f3fef37f6
test_ftplib: silence a BytesWarning when checking TypeError
2013-07-06 15:08:21 +02:00
Giampaolo Rodola'
0d4f08cee3
ftplib tests: provide a global socket's TIMEOUT variable and use it everywhere so that failing tests won't accidentally hang
2013-05-16 15:12:01 +02:00
Victor Stinner
4489e927a6
(Merge 3.3) Close #6822 : ftplib.FTP.storlines() expects a binary file, not a text file
...
Add an unit test to ensure that text files are rejectect (with TypeError)
2013-04-02 22:13:49 +02:00
Victor Stinner
ed3a303548
Close #6822 : ftplib.FTP.storlines() expects a binary file, not a text file
...
Add an unit test to ensure that text files are rejectect (with TypeError)
2013-04-02 22:13:27 +02:00
R David Murray
87632f1a9e
#6623 : Add explicit deprecation warning for ftplib.Netrc.
2013-02-19 18:32:28 -05:00
Andrew Svetlov
f7a17b48d7
Replace IOError with OSError ( #16715 )
2012-12-25 16:47:37 +02:00
Antoine Pitrou
aa03a1fe2a
Small cleanup in test_ftplib
2012-12-19 20:44:37 +01:00
Antoine Pitrou
08d02724df
Small cleanup in test_ftplib
2012-12-19 20:44:02 +01:00
Andrew Svetlov
0832af6628
Issue #16717 : get rid of socket.error, replace with OSError
2012-12-18 23:10:48 +02:00
Benjamin Peterson
b29614e047
compare singletons by identity not equality ( closes #16712 )
...
Patch from Serhiy Storchaka.
2012-10-09 11:16:03 -04:00
Giampaolo Rodola'
8bc8585873
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
2012-01-09 17:10:10 +01:00
Charles-François Natali
b01c32dab4
Issue #13453 : Try to increase some socket timeouts to make some buildbots stop
...
failing.
2011-12-19 16:12:59 +01:00
Charles-François Natali
4ce2f36461
Issue #13453 : Try to increase some socket timeouts to make some buildbots stop
...
failing.
2011-12-19 16:12:23 +01:00
Giampaolo Rodola'
5de1532163
Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499
2011-06-30 18:34:41 +02:00
Giampaolo Rodola'
096dcb1eff
Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.
2011-06-27 11:17:51 +02:00
Giampaolo Rodola'
ffc235cbbf
merge with 3.2
2011-05-07 19:11:06 +02:00
Giampaolo Rodola'
24befa87dc
merge with 3.1
2011-05-07 19:09:34 +02:00
Giampaolo Rodola'
0b5c21f9c9
#12002 - ftplib's abort() method raises TypeError
2011-05-07 19:03:47 +02:00
Giampaolo Rodola'
842e567530
reverting 9688977ef567 committed by accident
2011-05-07 18:47:31 +02:00
Giampaolo Rodola'
dbf0454082
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
2011-05-07 17:08:34 +02:00
Giampaolo Rodola'
b28e09421d
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
2011-05-07 17:02:21 +02:00
Giampaolo Rodola'
a55efb3b6f
#11072- applying http://bugs.python.org/review/11072/show suggestions
2011-05-07 16:06:59 +02:00
Giampaolo Rodola'
d78def9474
Issue #11072 : added MLSD command (RFC-3659) support to ftplib.
2011-05-06 19:49:08 +02:00
Victor Stinner
c90e19dd3f
Close #11958 : Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
...
Patch written by Charles-Francois Natali.
2011-05-01 01:23:03 +02:00
Antoine Pitrou
9c39f3c4ec
Issue #11811 : Factor out detection of IPv6 support on the current host
...
and make it available as `test.support.IPV6_ENABLED`. Patch by
Charles-François Natali.
2011-04-28 19:18:10 +02:00
Antoine Pitrou
6dca52772b
Issue #11748 : try to fix sporadic failures in test_ftplib
2011-04-03 18:29:45 +02:00
Giampaolo Rodolà
7a2114719d
#8594 : fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.
2011-03-08 21:33:21 +01:00
Giampaolo Rodolà
396ff06051
Fix issue 8594: adds a source_address parameter to ftplib module.
2011-02-28 19:19:51 +00:00
Benjamin Peterson
1bd93a754f
fix ftplib resource warnings
2010-10-31 19:58:07 +00:00
Brett Cannon
918e2d4832
Clean up socket closing in test_ftplib.
2010-10-29 23:26:25 +00:00
Antoine Pitrou
51be0f47fa
Merged revisions 85492 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85492 | antoine.pitrou | 2010-10-14 22:35:26 +0200 (jeu., 14 oct. 2010) | 3 lines
Increase timeouts in test_ftplib (for very slow buildbots)
........
2010-10-14 20:44:58 +00:00
Antoine Pitrou
d778e568ba
Increase timeouts in test_ftplib (for very slow buildbots)
2010-10-14 20:35:26 +00:00
Giampaolo Rodolà
977c707b42
Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcher
2010-10-04 21:08:36 +00:00
Giampaolo Rodolà
bbc4782d77
fix issue 9601: ftplib now provides a workaround for invalid response code returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003
2010-08-23 22:10:32 +00:00
Giampaolo Rodolà
f96482e91a
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file
2010-08-04 10:36:18 +00:00
Giampaolo Rodolà
b939235c6a
fix issue #6822 : ftplib's storline method doesn't work with text files
2010-08-04 10:12:00 +00:00
Giampaolo Rodolà
6da11e5fce
fix wrong assertIs context
2010-05-26 18:21:26 +00:00
Giampaolo Rodolà
a67299e757
Fix issue #8806 : add SSL contexts support to ftplib
2010-05-26 18:06:04 +00:00
Giampaolo Rodolà
bd576b75b7
Fix issue #4972 : adds ftplib.FTP context manager protocol
2010-05-10 14:53:29 +00:00
Giampaolo Rodolà
d930b63583
Merged revisions 80882 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80882 | giampaolo.rodola | 2010-05-06 22:19:32 +0200 (gio, 06 mag 2010) | 1 line
adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong
........
2010-05-06 20:21:57 +00:00