Message114955
I Had the same issue while using the lib. I had to replace every: IOError with (IOError, OSError) to catch both and just then compare exc.errno.
Also in your r84271 commit, on line 507 you did:
507 : with _io.FileIO(path, 'wb') as file:
shouldn't it be:
507 : with _closing(_io.FileIO(path, 'wb')) as file:
as in previous commit? In case of an error, you're not closing the file properly. Or am I reading that wrong?
Cheers. |
|
Date |
User |
Action |
Args |
2010-08-26 04:38:13 | sniffer | set | recipients:
+ sniffer, barry, brett.cannon, flox |
2010-08-26 04:38:13 | sniffer | set | messageid: <1282797493.21.0.801976158382.issue9572@psf.upfronthosting.co.za> |
2010-08-26 04:38:11 | sniffer | link | issue9572 messages |
2010-08-26 04:38:08 | sniffer | create | |
|