Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57754
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <esj@harvee.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'output': 0.05; 'debug': 0.07; 'decorator': 0.09; 'url:github': 0.09; 'wrote': 0.14; 'variable.': 0.16; 'wow,': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'people,': 0.24; 'looks': 0.24; 'header:In-Reply- To:1': 0.27; 'matching': 0.30; 'add': 0.35; 'there': 0.35; 'really': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'ability': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tag': 0.61 |
| X-Virus-Scanned | amavisd-new at harvee.org |
| Date | Sun, 27 Oct 2013 13:49:09 -0400 |
| From | "Eric S. Johansson" <esj@harvee.org> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Debugging decorator |
| References | <CAFEUn8YwMwB6m9LGqsXK8iijK_DRnwv88Xxp8VP_x=Hq2TUnhQ@mail.gmail.com> |
| In-Reply-To | <CAFEUn8YwMwB6m9LGqsXK8iijK_DRnwv88Xxp8VP_x=Hq2TUnhQ@mail.gmail.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1656.1382896629.18130.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1382896629 news.xs4all.nl 15971 [2001:888:2000:d::a6]:35053 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57754 |
Show key headers only | View raw
On 10/25/2013 7:55 PM, Yaşar Arabacı wrote: > Hi people, > > I wrote this decorator: https://gist.github.com/yasar11732/7163528 > > wow, this looks really powerful. I would like to add the ability to associate a tag or set of tags with the decorator so that the debug output only happens when there is a matching tag in some global or environmental variable.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Debugging decorator "Eric S. Johansson" <esj@harvee.org> - 2013-10-27 13:49 -0400
csiph-web