This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients asvetlov, pablogsal, terry.reedy, vstinner, yselivanov
Date 2019-05-14.14:35:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557844537.49.0.147701019213.issue36870@roundup.psfhosted.org>
In-reply-to
Content
Another candidate:

commit a076e4f5e42b85664693191d04cfb33e2f9acfa5 (refs/bisect/bad) 
Author: Andrew Svetlov <andrew.svetlov@gmail.com>
Date:   Thu May 9 15:14:58 2019 -0400

    bpo-36802: Drop awrite()/aclose(), support await write() and await close() instead (#13099)

Before this commit, the test pass. After this commit, the test still pass but logs a warning:

vstinner@WIN C:\vstinner\python\master>python -m test test_asyncio -m test_drain_raises -v
(...)
test_drain_raises (test.test_asyncio.test_streams.StreamTests) ... Task exception was never retrieved
future: <Task finished name='Task-2' coro=<StreamWriter.drain() done, defined at C:\vstinner\python\master\lib\asyncio\streams.py:417> exception=ConnectionAbor
tedError(10053, 'An established connection was aborted by the software in your host machine', None, 10053, None)>
Traceback (most recent call last):
  File "C:\vstinner\python\master\lib\asyncio\streams.py", line 434, in drain
    await fut
  File "C:\vstinner\python\master\lib\asyncio\proactor_events.py", line 370, in _loop_writing
    self._write_fut = self._loop._proactor.send(self._sock, data)
  File "C:\vstinner\python\master\lib\asyncio\windows_events.py", line 488, in send
    ov.WSASend(conn.fileno(), buf, flags)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
ok
(...)
Tests result: SUCCESS
History
Date User Action Args
2019-05-14 14:35:37vstinnersetrecipients: + vstinner, terry.reedy, asvetlov, yselivanov, pablogsal
2019-05-14 14:35:37vstinnersetmessageid: <1557844537.49.0.147701019213.issue36870@roundup.psfhosted.org>
2019-05-14 14:35:37vstinnerlinkissue36870 messages
2019-05-14 14:35:37vstinnercreate