The Story of Features Coming in Python 3.8 and Beyond

Andrey Vlasovskikh

ASYNC / Concurreny Compiler and Interpreters New Features Python 3 Type-Hinting

See in schedule

What's coming in Python 3.8? You can learn it by yourself by reading an excellent document [What's New in Python 3.8][1]. I'm not going to retell this document. Instead I'll focus on things barely described there or not mentioned at all:

* Why will the new features appear in Python 3.8 and what's the story behind them?
* What is being discussed and developed now, but won't appear in Python 3.8?

I'll share the news I learned at PyCon 2019 from the talks and discussions with Python core developers. I'll mention the following topics:

* New syntax: `x := expr`, `f(..., /, ...)`, `f'{expr=}'`
* New types: `Literal`, `Final`, `TypedDict`
* Future features of typing and async/await
* New approaches to optimizing Python: sub-interpreters, mypyc

[1]: https://docs.python.org/3.8/whatsnew/3.8.html

Type: Talk (30 mins); Python level: Advanced; Domain level: Advanced


Andrey Vlasovskikh

JetBrains

Andrey Vlasovskikh is the technical lead of PyCharm and the maintainer of IdeaVim at JetBrains. He is an active member of the Python typing community and a contributor to PEP 484, 561.

Twitter: @vlasovskikh