This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, ethan.furman, martin.panter
Date 2016-03-25.00:24:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20160324202430.750471d4@subdivisions.wooz.org>
In-reply-to <1458864892.35.0.182710055779.issue26632@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2016-03-25 00:24:34barrysetrecipients: + barry, ethan.furman, martin.panter
2016-03-25 00:24:34barrylinkissue26632 messages
2016-03-25 00:24:34barrycreate