18 votes

What's coming in Python 3.9

Tags: python

2 comments

  1. spit-evil-olive-tips
    Link
    This is bypassing LWN's normal paywall using their subscriber link functionality, since I'm a paying subscriber. If you like LWN please consider subscribing - they're consistently some of the...

    This is bypassing LWN's normal paywall using their subscriber link functionality, since I'm a paying subscriber. If you like LWN please consider subscribing - they're consistently some of the highest-quality Linux / FOSS journalism around.

    8 votes
  2. sqew
    Link
    The addition of removeprefix() and removesuffix() looks reasonably useful to me. I remember early on in my Python experience having some issues trying to get that exact functionality with the...

    The addition of removeprefix() and removesuffix() looks reasonably useful to me. I remember early on in my Python experience having some issues trying to get that exact functionality with the existing string methods, so I'm happy to see these from both a "writing more readable code" and "UX for someone trying to figure out string methods" perspective.

    3 votes