DEV Community

mbarkhau
mbarkhau

Posted on

2

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.

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

DEV shines when you're signed in, unlocking a customized experience with features like dark mode!

Okay