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.
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) * (Python committer) | 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 | |