from Hacker News

Is anyone using Walrus operator? Match statement?

by lolpanda on 12/18/22, 11:24 AM with 2 comments

  • by al2o3cr on 12/18/22, 4:14 PM

    This doesn't seem surprising for libraries - using new features either means

    * doing everything _two_ ways to maintain compatibility with older interpreters

    * abandoning compatibility with older interpreters

    Dropping support for older versions is a Big Deal. For instance, it's one of the goals on urllib3's v2.0 page (https://urllib3.readthedocs.io/en/stable/v2-roadmap.html#opt...)

  • by lolpanda on 12/18/22, 11:24 AM

    If you're a Python developer, do you use the new language features? If not, why do you not use them?