
Sept. 27, 2020
2:45 a.m.
On Sat, Sep 26, 2020 at 10:43 PM Ricky Teachey <ricky@teachey.org> wrote:
...which, if someone does this arbitrarily against classes that use the existing kind of code I gave at the first, will call (if the sentinel is () ):
obj.__setitem__(())
...which could have all kinds of weird effects rather than giving an error, as I think would be better.
Sorry correction: obj.__setitem__((), "foo") --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler