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

Guido van Rossum guido at python.org
Wed Feb 4 17:02:43 CET 2015


Regarding the error, Victor has made a lot of fixes to the iocp code for
asyncio. Maybe it's fixed in the repo?
On Feb 4, 2015 1:33 AM, "Paul Moore" <p.f.moore at gmail.com> wrote:

> 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
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150204/ebcae374/attachment.html>


More information about the Python-ideas mailing list