Yury Selivanov - Asyncio in Python 3 7 and 3 8
Channel: EuroPython Conference
Date: 2018-08-22

Asyncio in Python 3.7 and 3.8.
[EuroPython 2018 - Talk - 2018-07-25 - Moorfoot]
[Edinburgh, UK]

By Yury Selivanov

The talk is aimed to give attendees a clear picture of new asyncio features in Python 3.7 and give an idea of what to expect in Python 3.8.  As a CPython core developer and the lead asyncio maintainer I believe I have a unique perspective to share with EuroPython guests.

Python 3.7 boasts a number of new amazing features: 


sendfile
start TLS
new high performance buffered protocols
context-local state via PEP 567
asyncio.run &amp; create_task &amp; other usability improvements
many performance improvements


The first part of the talk will be focusing on new APIs to explain them and give ideas how they can be used in production.

The second part of the talk will be focused on what to expect to see in asyncio in Python 3.8:


new performance tracking &amp; profiling API
supervisors &amp; cancel scopes
new timeouts API
a completely new way of writing asyncio applications


Some of these ideas are borrowed from Trio and Curio (two other popular async/await Python frameworks), many are borrowed from languages like Erlang and Scala. One thing I can say for certain is that 3.8 will be the biggest and most interesting asyncio release ever!



License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/
Please see our speaker release agreement for details: https://ep2018.europython.eu/en/speaker-release-agreement/