title: Event loop created by asyncio.new_event_loop hangs
body: <p>The following code just hangs without ever printing anything:</p>
  
  <pre><code>import asyncio
  
  async def foo(loop):
      print('foo')
      loop.stop()
  
  loop = asyncio.new_event_loop()
  asyncio.ensure_future(foo(loop))
  loop.run_forever()
  </code></pre>
  
  <p>If I use <a href="https://docs.python.org/3/library/asyncio-eventloops.html#asyncio.get_event_loop" rel="noreferrer">get_event_loop</a> everything works fine. Is there something I'm doing wrong or have I stumbled upon a bug?</p>
  
  <p>I'm using Python 3.5.1.</p>