Message262390
On Mar 25, 2016, at 12:14 AM, Ethan Furman wrote:
>public = Public(globals())
>
>@public
>def baz(a, b):
> #blah blah
>
>public('CONST1', 2)
I'm not crazy about that, plus I rather don't like the implicit binding of the
name. I suppose we should just drop the idea of convenience for non-"API".
Just use the defined @public for classes and functions, and an explicit
__all__.append('CONST') for other names. |
|
Date |
User |
Action |
Args |
2016-03-25 00:24:34 | barry | set | recipients:
+ barry, ethan.furman, martin.panter |
2016-03-25 00:24:34 | barry | link | issue26632 messages |
2016-03-25 00:24:34 | barry | create | |
|