[Python-ideas] Hooks into the IO system to intercept raw file reads/writes

Paul Moore p.f.moore at gmail.com
Wed Feb 4 10:32:50 CET 2015


On 4 February 2015 at 09:08, Paul Moore <p.f.moore at gmail.com> wrote:
>> The following seems to work:
> [...]
>
> Thanks! I'll play with that and see if I can get my head round it.

It works for me, but I get an error on termination:

RuntimeError: <_overlapped.Overlapped object at 0x00000000033C56F0>
still has pending operation at deallocation, the process may crash

I'm guessing that there's a missing wait on some object, but I'm not
sure which (or how to identify what's wrong from the error). I'll keep
digging, but on the assumption that it works on Unix, there may be a
subtle portability issue here.

Paul


More information about the Python-ideas mailing list