~sschwarzer/ftputil#30: 
Add support for the with statement

Roger Demetrescu suggests in ​this mail to add support for Python's with statement, introduced in Python 2.5.

The example Roger gives is about using the with statement on FTPHost objects, but I think even more it should also be applied to FTPFile objects.

Stefan

Status
RESOLVED FIXED
Submitter
schwa (unverified)
Assigned to
No-one
Submitted
15 years ago
Updated
15 years ago
Labels
enhancement library

schwa (unverified) 14 years ago · edit

Support for the with statement has been added for FTPHost and FTPFile objects as of ftputil version 2.3.

Register here or Log in to comment, or comment via email.