[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Guido van Rossum
Changes by Guido van Rossum : -- components: +Tests resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___ _

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed that that is probably unrelated. I suspect that all tests doing real I/O (stuff that goes through the OS kernel) and wait for it using run_briefly() are theoretically broken like that. It may just be harder to provoke for some tests than for others.

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Possibly related: ... That looks unrelated since it does not involve wait_for_handle(). Unfortunately test_utils.run_briefly() offers few guarantees when using the IOCP event loop. -- ___ Python tracker

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d71db7fe4872 by Richard Oudkerk in branch 'default': Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired. http://hg.python.org/cpython/rev/d71db7fe4872 -- nosy: +python-dev ___ Py

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Tim Peters
Tim Peters added the comment: Possibly related: the successful test runs occurred running test_asyncio in isolation on a quiet machine. Then I fired off a full run of the test suite and used the machine for other things too. Then it failed: [ 23/387] test_asyncio ... various unclosed socket

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Tim Peters
Tim Peters added the comment: @sbt, success! With the patch, test_asyncio passed 10 times in a row on my box. Ship it :-) -- ___ Python tracker ___ ___

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: Could you try this patch? -- keywords: +patch Added file: http://bugs.python.org/file32822/wait-for-handle.patch ___ Python tracker ___ ___

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Tim Peters
Tim Peters added the comment: @sbt, this is reproducible every time for me, so if there's anything you'd like me to try, let me know. I don't know anything about this code, and gave up after half an hour of trying to find out _where_ `False` was coming from - too convoluted for this old brain

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Richard Oudkerk
Richard Oudkerk added the comment: It would be nice to try this on another Vista machine - the WinXP, Win7, Windows Server 2003 and Windows Server 2008 buildbots don't seem to show this failure. It looks as though the TimerOrWaitFired argument passed to the callback registered with RegisterWa

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Tim Peters
New submission from Tim Peters: With current default branch, test_asyncio always fails on my 32-bit Windows Vista box, in test_wait_for_handle: test test_asyncio failed -- Traceback (most recent call last): File "C:\Code\Python\lib\test\test_asyncio\test_windows_events.py", line 122, in test