This seems like a feature looking for a use-case.
I don't think the use case presented is good enough, since in this thread I've
seen it given three incompatible operator priorities (higher than `+`, lower
than `+`, and one that seems to be a sort of assignment?) and a handful of
loosely related, but different, meanings.
Perhaps just as troubling is that the in-place variant `~=`:
- ...reads to me like one of the boolean comparison operators ("almost equal"?).
- ...if I understand correctly, has no use in the R semantics that the proposal
is based on.
So right out of the gate, it's confusing and broken.
I think something like this needs to be a fully-baked (or at least
mostly-baked) idea before discussion can be productive. If a few popular
packages plan on using it (not "could" use it; I mean the maintainers of those
packages actually come out in support of the proposal), then there's a good use
case for it.
But as it stands, I see very little upside for the comparatively large downside.
Brandt
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/XBVEM5CNWPQN4AVEK2EIFZWDUEWWBRG3/
Code of Conduct: http://python.org/psf/codeofconduct/