Issue3388
Created on 2008-07-16 23:10 by segfaulthunter, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| with_tutorial.patch | segfaulthunter, 2008-07-16 23:10 | This familiarises the reader with the use of the with keyword with files. | ||
| Messages (2) | |||
|---|---|---|---|
| msg69854 - (view) | Author: Florian Mayer (segfaulthunter) | Date: 2008-07-16 23:10 | |
I think that the Python 3.0 Tutorial should show the reader that the with keyword is an excellent way of reading data from a file and closing it afterwards, even if exceptions occur. |
|||
| msg69857 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-07-16 23:36 | |
Thanks, committed a similar patch in r65048. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:36 | admin | set | github: 47638 |
| 2008-07-16 23:36:20 | georg.brandl | set | status: open -> closed resolution: accepted messages: + msg69857 |
| 2008-07-16 23:10:44 | segfaulthunter | create | |
