Ticket #30 (closed enhancement: fixed)
Add support for the with statement
| Reported by: | schwa | Owned by: | schwa |
|---|---|---|---|
| Priority: | major | Milestone: | 2.3 |
| Component: | Library | Version: | |
| Keywords: | with statement, __enter__, __exit__, FTPHost, FTPFile | Cc: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
