<div dir="ltr"><div><div><div><div><div><div>
<div><br></div><div>
<div>
<div>> To me, "from" strongly suggests that an element is being obtained 
from a container/collection of <br>> elements. This is how I conceptualize 
"from module import name": "name" refers to an object <br>> INSIDE the module,
 not the module itself. If I saw<br>><br></div><div>> if (match from pattern.search(data)) is not None:<br>
        ...<br><br></div><div>> I would guess that it is equivalent to<br>> <br></div><div>> m = next(pattern.search(data))<br>> if m is not None:<br>
        ...<br></div>

<br></div>+1, although unpacking seems to be reasonable `[elem1, *elems] from contains`.</div>

<br><br></div>Now we have<br><br></div>- "expr as name"<br></div><div>- "name := expr"<br></div>- "expr -> name"<br></div>- "name from expr"<br><br></div>Personally I prefer "as", but I think without a big change of python Grammar file, it's impossible to avoid parsing "with expr as name" into "with (expr as name)" because "expr as name" is actually an "expr". <br>I have mentioned this in previous discussions and it seems it's better to warn you all again. I don't think people of Python-Dev are willing to implement a totally new Python compiler.<br></div><div><div><div><div><br></div><div>

<br></div></div></div></div></div>