Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64814
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <skip.montanaro@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'read.': 0.03; 'variables': 0.07; 'bits': 0.09; 'highlighting': 0.09; 'subset': 0.09; 'undefined': 0.09; 'variables.': 0.09; 'cc:addr:python-list': 0.11; 'useful,': 0.14; 'background,': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'highlight': 0.16; 'identifiers,': 0.16; 'subject:program': 0.16; 'sender:addr:gmail.com': 0.17; 'code.': 0.18; 'coding': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'supported': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'used,': 0.33; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'subject:?': 0.36; 'skip:u 10': 0.60; 'color': 0.61; 'different': 0.65; 'direct': 0.67; 'to,': 0.72; 'capability': 0.84; 'confusing': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Fffat9DDtjAfmO/Twxsd7lKJWqdp08/msmlMQjgIPXE=; b=r1Uc3XC04DcGPeaVsEfwAjvfTqS+iusJfLPqliu2HJWiUAHiHlV7zU5APBvw9HLx63 F87R7ldRdjoyNEh1AwGlR8IWO1ljvgqT8a2GTbI8TQX484fukO0A1dxhY0ZMZBRqX64r DD5IQFgCgu62MXoJi3eVKg9wxrrTgN9eM35C7esK0kE02M3E1iq85iVa5mMrrVgftYKN qUD9OFbraAVW7sKGK995aPJpgtCdpmOoMOsXX2mgeKS7hjjCxSy/icMyKdz31X08bzH9 6vHnyVYcxUQ8Jmw0sqJqmlDIo42gnr6DA94RLfUEzVaR4C4deUZ+IYAt02HwNzAvhDGh yKcg== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.138.72 with SMTP id qo8mr15096583igb.8.1390787203417; Sun, 26 Jan 2014 17:46:43 -0800 (PST) |
| Sender | skip.montanaro@gmail.com |
| In-Reply-To | <lc4a8n$982$1@ger.gmane.org> |
| References | <CANc-5UwcZT18RgLqzHq0oMPA4sxfbfu0ZQhGPJBYZ0KEUJ6m2g@mail.gmail.com> <CANc-5UwkLjmwA5LCAKRGjDZaf5EiHXCfU4_Hm2e9yXsDmApR=g@mail.gmail.com> <CANc-5UxqBJPjk-QYgOL+n1A85xHAicPQHSPfB1fhBg877g0TTQ@mail.gmail.com> <lc4a8n$982$1@ger.gmane.org> |
| Date | Sun, 26 Jan 2014 19:46:43 -0600 |
| X-Google-Sender-Auth | mJwHCewA9QyGTJHXhbqrCyRX0Sg |
| Subject | Re: Highlighting program variables instead of keywords? |
| From | Skip Montanaro <skip@pobox.com> |
| To | Terry Reedy <tjreedy@udel.edu> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | Python <python-list@python.org> |
| 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.6013.1390787615.18130.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1390787615 news.xs4all.nl 2874 [2001:888:2000:d::a6]:41625 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:64814 |
Show key headers only | View raw
> What it is doing is color coding user-supplied identifiers, with different > color for each one. I found that confusing to read. I think it would take some time to get used to, and I don't think it would be the only way I'd like to view my program. I think an interactive pylint (or pyflakes or frosty) type capability would be useful, highlighting a subset of the messages it produces, like variables which were assigned but never used, or using undefined variables. It might be best supported by actually running the checker in the background, then using its messages to direct where to highlight suspect bits of code. Skip
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Highlighting program variables instead of keywords? Skip Montanaro <skip@pobox.com> - 2014-01-26 19:46 -0600
csiph-web