Hi, On 24 October 2016 at 06:03, hubo <h...@jiedaibao.com> wrote: > long time, which is what PyPy is for. Files may not be the most critical > problem, the real problem is LOCK - when you use with on a lock, there are > chances that it never unlocks.
Bah. I would say that it makes the whole "with" statement pointless in case you're using "await" somewhere inside it. In my own honest opinion it should not be permitted to do that at all---like, it should be a SyntaxError to use "await" inside a "with". (This opinion is based on a very vague understanding of async/await in the first place, so please take it with a grain of salt.) Just my 2 cents. Armin _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev