Message75435
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, christian.heimes, vstinner |
| Date |
2008年11月01日.01:12:19 |
| SpamBayes Score |
8.932554e-05 |
| Marked as misclassified |
No |
| Message-id |
<1225501944.02.0.867759198908.issue4233@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
@christian: Your patch doesn't work: if close() if called twice, the
file is really closed :-/
Here is a new patch:
- _FileIO.close() sets self->fd to -1 but don't show a warning anymore
because the operation is valid: it does really close the _FileIO object
- add two tests for two problems: read is now blocked if the file is
closed, and the warning displayed by FileIO.__del__ |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月01日 01:12:24 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, christian.heimes |
| 2008年11月01日 01:12:24 | vstinner | set | messageid: <1225501944.02.0.867759198908.issue4233@psf.upfronthosting.co.za> |
| 2008年11月01日 01:12:22 | vstinner | link | issue4233 messages |
| 2008年11月01日 01:12:22 | vstinner | create |
|