I'm not a fan of stuffing Python with functions as trite as removeprefix and removesuffix. Those just seem soooooo odd. I don't want the function bloat we see in languages like PHP.
I find the dict unpacking eloquent and pythonic, but the new way to do it (even though in place is nice) strange. There were already so many ways to do this as you pointed out and I don't understand the benefits of introducing yet another way.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm not a fan of stuffing Python with functions as trite as removeprefix and removesuffix. Those just seem soooooo odd. I don't want the function bloat we see in languages like PHP.
I find the dict unpacking eloquent and pythonic, but the new way to do it (even though in place is nice) strange. There were already so many ways to do this as you pointed out and I don't understand the benefits of introducing yet another way.