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 martin.panter
Recipients brett.cannon, gvanrossum, larry, lukasz.langa, martin.panter, ncoghlan, ned.deily, python-dev, yselivanov
Date 2016-06-10.05:42:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465537345.2.0.589998615794.issue27243@psf.upfronthosting.co.za>
In-reply-to
Content
Test suite emits a new warning, and fails under python -Werror:

======================================================================
ERROR: test_readline (test.test_asyncio.test_pep492.StreamReaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/disk/home/proj/python/cpython/Lib/test/test_asyncio/test_pep492.py", line 89, in test_readline
    data = self.loop.run_until_complete(reader())
  File "/media/disk/home/proj/python/cpython/Lib/asyncio/base_events.py", line 387, in run_until_complete
    return future.result()
  File "/media/disk/home/proj/python/cpython/Lib/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/media/disk/home/proj/python/cpython/Lib/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/media/disk/home/proj/python/cpython/Lib/test/test_asyncio/test_pep492.py", line 85, in reader
    async for line in stream:
PendingDeprecationWarning: 'StreamReader' implements legacy __aiter__ protocol; __aiter__ should return an asynchronous iterator, not awaitable
History
Date User Action Args
2016-06-10 05:42:25martin.pantersetrecipients: + martin.panter, gvanrossum, brett.cannon, ncoghlan, larry, ned.deily, lukasz.langa, python-dev, yselivanov
2016-06-10 05:42:25martin.pantersetmessageid: <1465537345.2.0.589998615794.issue27243@psf.upfronthosting.co.za>
2016-06-10 05:42:25martin.panterlinkissue27243 messages
2016-06-10 05:42:24martin.pantercreate