2018-04-24 09:52:18 -04:00

1.0 KiB
Raw Blame History

layout title description date sidebar comments sharing footer
page Miscellaneous Async A collection of miscellaneous topics about async that didn't fit on the other pages. 2016-10-17 21:49 true false true true

{% linkable_title What about async and await syntax? %}

Python 3.5 introduced new syntax to formalize the asynchronous pattern. This is however not compatible with Python 3.4. The minimum required Python version for Home Assistant is based on the Python version shipped with Debian stable, which is currently 3.5.3.

For more information, Brett Cannon wrote an excellent breakdown on 'async' and 'await' syntax and how asynchronous programming works.

{% linkable_title Acknowledgements %}

Huge thanks to Ben Bangert for starting the conversion of the core to async, guiding other contributors while taking their first steps with async programming and peer reviewing this documentation.