The | and |= operators for dict were added in 3.9 which was released in 2020, so it's a relatively recent feature.
I like having an operator for set union but I don't like that a |= b has different semantics to a = a|b. This violates the principle of least surprise, since the former is supposed to be a shorthand for the latter.

