This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients Arfrever, flox, giampaolo.rodola, janssen, pitrou, vstinner
Date 2010-03-25.14:11:57
SpamBayes Score 2.5018394e-06
Marked as misclassified No
Message-id <1269526319.78.0.0670482727337.issue8108@psf.upfronthosting.co.za>
In-reply-to
Content
You're right, there's no need to catch the socket error in "ftplib" module.

Here is the result of the "debugging" patch in the console:

$ ./python -m test.regrtest -uall test_ftplib
test_ftplib
success
success
success
success
success
success
success
success
2702 ssl want read
2801 ssl want read
2661 ssl want read
2274 ssl want read
16742 ssl want read
2397 ssl want read
1 test OK.



IMHO, there's no need to loop on "unwrap()", according to Darryl's analysis.
History
Date User Action Args
2010-03-25 14:12:00floxsetrecipients: + flox, janssen, pitrou, vstinner, giampaolo.rodola, Arfrever
2010-03-25 14:11:59floxsetmessageid: <1269526319.78.0.0670482727337.issue8108@psf.upfronthosting.co.za>
2010-03-25 14:11:58floxlinkissue8108 messages
2010-03-25 14:11:58floxcreate