aioxmpp icon indicating copy to clipboard operation
aioxmpp copied to clipboard

Convert code base to Python 3.5

Open horazont opened this issue 9 years ago • 2 comments

Make use of new features in Python 3.5 and fix deprecations.

  • [x] Use asyncio.ensure_future instead of asyncio.async
  • [ ] Use async def instead of @asyncio.coroutine
  • [ ] Implement more features using __aenter__ / __aexit__
  • [ ] Implement more features using __aiter__ / __anext__
  • [ ] Use loop.create_future() instead of asyncio.Future() to create futures (this was new in 3.5.2 – so maybe we want to wait for the 3.6 change with this)

horazont avatar Jun 21 '16 09:06 horazont

This issue will be re-bound to another milestone when it is determined when we will start requiring Python 3.5.

horazont avatar Jun 23 '16 15:06 horazont

Re-binding this to v0.11:

  • Ubuntu LTS (18.04) has Python 3.6
  • Debian Stable (stretch) has Python 3.5

horazont avatar Aug 06 '18 19:08 horazont