On 2020-02-23 19:35, Aaron Hall via Python-ideas wrote:
My main goal here is to increase the flexibility of Python for various domains where I have used `object0 ~ object1` - and can't yet do so in Python.
You've said something like this a couple times in this thread, but personally I don't feel that that is a meaningful goal. Based on your phrasing, my impression is you have seen this particular symbol in other places, and your goal is to get that particular symbol into Python so you can use it. But as far as I can tell that's kind of pointless. Python has plenty of operators. You haven't given any rationale for why you want this operator, other than that you want it to be shaped like a tilde. That's not much of a justification! There are lots of symbols out there in the world. Python doesn't need to adopt all of them based on their appearance. The question is what *behavior* you're proposing for the symbol, and in fact you haven't proposed any. You've given examples of how it could be used to create formulas akin to those in R, but those formulas can already be created if you just chose an existing operator that doesn't happen to look like a tilde. Why does it matter that it looks like a tilde? -- Brendan Barnwell "Do not follow where the path may lead. Go, instead, where there is no path, and leave a trail." --author unknown