Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; 'cc:addr:python-list': 0.11; 'ah,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'operates': 0.16; 'repl': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'import': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'byte': 0.24; 'skip': 0.24; 'cc:2**0': 0.24; 'long,': 0.26; 'right.': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'there.': 0.32; 'level.': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'activate': 0.36; "didn't": 0.36; 'pm,': 0.38; 'read': 0.60; 'more': 0.64; '20,': 0.68; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=7O5+bB1XxKXJweyaL/csEuydmeODdFteaz0uvk4w1M8=; b=Yk3E8UCaw8dJ8jRoemk1wKtSMP3UxMbwscaRertifBHpAPaR1DEaNnawDwZrw5/FOn sQoguLI00zG0ZUPeusDiWMBmvFoMxJDqbuMK68bdI8myWWgYZSnwXS4JihsIdc7LzocB 0///FLnoadJM/Oqlf1GixTTOKUkBI+WvSoeUSyK3zpYj8IgriuSs3tOEjU2oyobnQejT 3Wbd6nbHrKUmd6+t/VpYr1tl59Zjmt7a/AGbQHLJ8qb+A/FmP5PWu0cFr7RwS+n/hNH3 b4JGdw0TRcoi+HgQuTywbMFtqa+buyHEvnFDVm5cZAhO5MzJ6E2qk7Umwl2w+V+Mp819 0nFw== MIME-Version: 1.0 X-Received: by 10.42.216.135 with SMTP id hi7mr28070288icb.12.1408544984971; Wed, 20 Aug 2014 07:29:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Aug 2014 00:29:44 +1000 Subject: Re: MacroPy tracing not working for me... From: Chris Angelico Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408544988 news.xs4all.nl 2850 [2001:888:2000:d::a6]:33190 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76665 On Wed, Aug 20, 2014 at 11:58 PM, Skip Montanaro wrote: > I found the macropy Google Group and asked there. There is more to do to > activate it. In particular, it doesn't appear-to-operate on a > less-than-module level. Since it operates on the AST, it has to be active > during byte compilation. At the REPL you can import macropy.console to > achieve the necessary activation: > Ah, right. The README is pretty long, and I didn't read it all :) Makes sense that this has to be installed as a hook. ChrisA