[Python-ideas] Re: Operator as first class citizens -- like in scala -- or yet another new operator?

2019-06-10 Thread Caleb Donovick
First off, I have admittedly not read all of this thread. However, as designer of DSL's in python, I wanted to jump in on a couple of things I have seen suggested. Sorry If I am repeating comments already made. Over the last few years I have thought about every suggestion I have seen in this

[Python-ideas] Re: Adding context manager interface to contextvars.Token

2019-06-10 Thread Yonatan Zunger
On Thu, Jun 6, 2019 at 4:15 AM Christoph Groth wrote: > Yonatan Zunger wrote: > > > I had a similar recent need, with a bit more on top of it, and solved it > > with this slightly insane library. (Alas, I haven't figured out a good > way > > to make it act as a true subtype of UnderlyingType