On Oct 1, 2011, at 8:29 PM, Ron Adam wrote:
>
> How about a name space literal? ie.. a dictionary.
>
> def global_counter(x) {n:0, lock=lock}:
> with lock:
> n += 1
> yield n
Yeah, but it would break this existing code:
from __future__ import braces