On 1 February 2011 17:26, Alex Gaynor wrote:
> How, precisely, would one apply a decorator to an assignment statement?
> Unless there has been some change to Python's grammar I'm not aware of,
> decorators can only be used on function and class definitions.
You could wrap the value on the rig
On Tue, Feb 1, 2011 at 1:25 AM, Matteius wrote:
> I was thinking the decorator could apply to whatever setting is
> declared directly following it. If declared, the setting simply
> wouldn't show up. However I could add SECRET or PASSWORD to my token
> sensitive settings just as well.
>
> On Ja
I was thinking the decorator could apply to whatever setting is
declared directly following it. If declared, the setting simply
wouldn't show up. However I could add SECRET or PASSWORD to my token
sensitive settings just as well.
On Jan 31, 7:00 pm, Russell Keith-Magee
wrote:
> On Tue, Feb 1, 2
Second.
On Tue, Feb 1, 2011 at 1:00 AM, Russell Keith-Magee wrote:
> On Tue, Feb 1, 2011 at 12:12 AM, Horst Gutmann
> wrote:
> > On Mon, Jan 31, 2011 at 5:02 PM, Matteius wrote:
> >> I think it would be really useful to have a way (possibly a decorator
> >> such as @hide_setting) such as to pr
On Tue, Feb 1, 2011 at 12:12 AM, Horst Gutmann wrote:
> On Mon, Jan 31, 2011 at 5:02 PM, Matteius wrote:
>> I think it would be really useful to have a way (possibly a decorator
>> such as @hide_setting) such as to protect deployed sites when they
>> switch over to debug mode. To me this would b
On Mon, Jan 31, 2011 at 5:02 PM, Matteius wrote:
> I think it would be really useful to have a way (possibly a decorator
> such as @hide_setting) such as to protect deployed sites when they
> switch over to debug mode. To me this would be a most useful setting
> to have, especially when protectin