Author brandtbucher
Recipients brandtbucher, mrabarnett, rhettinger, steven.daprano, uriyyo
Date 2021-02-01.17:28:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yurii, I agree with Raymond that it's probably not worth adding new ABCs for this.

I'm happy to consider patches that add these operators to concrete stdlib mappings on a case-by-case basis. However, please be aware that we already went through a fairly comprehensive review of each dict/Mapping/MutableMapping subclass (real or virtual) in the entire stdlib to see if they would benefit here. I don't think we bothered updating *any* classes that weren't publicly documented, which is probably why "SignalDict" was left untouched.

It's also important to remember that the motivating use-case for PEP 584 was binary "|", and that "|=" just logically followed from that change. In this specific case, I think just using the good ol' update method (or even item assignment) is probably good enough.

I'm not very familiar with how SignalDict is used, though: do we ever actually want to create a new updated copy using binary "|"? That would probably be enough to convince me.
Date User Action Args
2021-02-01 17:28:35brandtbuchersetrecipients: + brandtbucher, rhettinger, mrabarnett, steven.daprano, uriyyo
2021-02-01 17:28:35brandtbuchersetmessageid: <>
2021-02-01 17:28:35brandtbucherlinkissue43085 messages
2021-02-01 17:28:35brandtbuchercreate