[Python-ideas] PEP 572: Statement-Local Name Bindings, take three!

Steven D'Aprano steve at pearwood.info
Mon Mar 26 08:31:28 EDT 2018


On Mon, Mar 26, 2018 at 02:42:32PM +0300, Kirill Balunov wrote:

> I was also thinking about `<-` variant (but with a Haskell in mind), but
> with the current Python rules, it seems that it does not fit:

Ah, of course not, the dreaded unary operator strikes again!

(I was just chatting with Chris about unary operators off-list earlier 
today.)


-- 
Steve


More information about the Python-ideas mailing list