Message75435
@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__ |
|
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 | |
|