DEV Community

mbarkhau
mbarkhau

Posted on

Python lib3to6: The Bablejs of Python now has support for Python 3.8.

I just published an update to lib3to6.

This release adds support for

  • the new bpo36774 f-string = specifier
  • and of course the infamous := walrus operator (except inside comprehensions).

While these are nice, the main use case of lib3to6 remains that you can use the type annotation features during development (some of which are only available on 3.6+) without having to sacrifice compatibility when you publish your packages. Support Python 3.5 with minimal extra effort, or even 2.7 if you still care about that.

Oldest comments (0)