Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31661
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'value,': 0.03; 'intermediate': 0.05; 'debugging.': 0.07; 'variable,': 0.07; 'variables,': 0.09; 'language,': 0.11; 'language': 0.14; '(but': 0.15; '"/*': 0.16; '"2"': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'literal,': 0.16; 'oct': 0.16; 'wrote:': 0.17; 'tend': 0.17; '>>>': 0.18; 'commands,': 0.22; 'trace': 0.22; "i'd": 0.22; 'insert': 0.23; 'split': 0.23; 'somewhere': 0.24; 'feature': 0.24; 'command': 0.24; 'header:In- Reply-To:1': 0.25; 'skip:[ 10': 0.26; 'skip:" 20': 0.26; 'am,': 0.27; 'implemented': 0.27; 'message-id:@mail.gmail.com': 0.27; 'dan': 0.29; 'objects': 0.29; 'probably': 0.29; "i'm": 0.29; 'fri,': 0.30; 'function': 0.30; 'quickly': 0.32; 'print': 0.32; 'to:addr:python-list': 0.33; 'knowledge': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'something': 0.35; 'next': 0.35; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'easily': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'procedure': 0.61; 'love': 0.63; 'else.': 0.65; 'equals': 0.65; 'fact,': 0.69; "'equals'": 0.84; 'aging': 0.84; 'etc),': 0.84 |
| 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:to :content-type; bh=TuOHLXjGHUNzW3YfX+UazhYgElKmS+d+hOVe+Xdrqqg=; b=JXEBTxEKNVurPCzy8Rthd4FWQA6cWD6GAV1JpXUDPONXmflRoAqK8ylcCt6aD8hLFj bvqmFcwh4JpmcVnRW0ekjcV9//SonB7NG2OotvkvpKroIrS0beeQLK0RV4vdTXx/B9zX kAT5IjJpt941VfgaerpKKFvFz49xCPJj9gsP478BxVBuNoSuuSg8bJUXgP+VhQn4ycyj Su1MXcGy2eo5ZhVaqImQRbn2/+9I8TTCvcbDSPNzuS8rbdyBb2hVS7rHDI/2gvgsiSf3 XzU+/AtlyC5iZdLL1jXKUiYDwpqRb6ms250R6SerU+9siOBMBafYsnu65mhsOXBTA6CP QwWg== |
| MIME-Version | 1.0 |
| In-Reply-To | <CAGGBd_rJWsZ=DqY-vBdvpgo0t0SSexm=+qHiJ3EAuahxwnLA_w@mail.gmail.com> |
| References | <CANaSqUfLX7V2OxhO+fdVtmQcDzNfEgQfutHak_G-9_1_4nNr1Q@mail.gmail.com> <CAGGBd_rJWsZ=DqY-vBdvpgo0t0SSexm=+qHiJ3EAuahxwnLA_w@mail.gmail.com> |
| Date | Fri, 19 Oct 2012 03:15:10 +1100 |
| Subject | Re: A desperate lunge for on-topic-ness |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2450.1350576912.27098.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350576912 news.xs4all.nl 6900 [2001:888:2000:d::a6]:41545 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31661 |
Show key headers only | View raw
On Fri, Oct 19, 2012 at 2:49 AM, Dan Stromberg <drsalists@gmail.com> wrote:
> In fact, I tend to do lots of "otherwise pointless" variables, because I
> want to be able to quickly and easily insert print statements/functions
> without having to split up large commands, during debugging.
When will we next have a language with something like the REXX 'trace
i' command?
[C:\Desktop]rexxtry trace i; say 1+2*3 "equals" words(linein(word(source,3)))
95 *-* Say 1 + 2 * 3 'equals'
words(linein(word(source, 3)));
>L> "1"
>L> "2"
>L> "3"
>O> "6"
>O> "7"
>L> "equals"
>O> "7 equals"
>V> "OS/2 COMMAND C:\OS2\REXXTRY.CMD"
>L> "3"
>F> "C:\OS2\REXXTRY.CMD"
>F> "/* SAA-portable REXXTRY procedure
11/08/91 version 1.05"
>F> "7"
>O> "7 equals 7"
>>> "7 equals 7"
96 *-* Trace 'Off';
Intermediate expression/statement evaluation, full details. Takes some
knowledge to comprehend (>L> means literal, >V> variable, >F> function
return value, etc), but extremely handy. Unfortunately REXX is an
aging language, as evidenced by such features as DBCS support (but no
Unicode), and functions as first-class objects support (nonexistent).
But this is a feature that I'd love to see implemented somewhere else.
Which probably means I'm going to have to write it somewhere else...
ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: A desperate lunge for on-topic-ness Chris Angelico <rosuav@gmail.com> - 2012-10-19 03:15 +1100
csiph-web