From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7228 invoked by alias); 9 Feb 2009 01:35:26 -0000 Received: (qmail 7220 invoked by uid 22791); 9 Feb 2009 01:35:25 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Feb 2009 01:35:19 +0000 Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id n191ZHum027943 for ; Sun, 8 Feb 2009 17:35:17 -0800 Received: from rv-out-0506.google.com (rvbk40.prod.google.com [10.140.87.40]) by wpaz5.hot.corp.google.com with ESMTP id n191ZEwt023927 for ; Sun, 8 Feb 2009 17:35:14 -0800 Received: by rv-out-0506.google.com with SMTP id k40so1487493rvb.15 for ; Sun, 08 Feb 2009 17:35:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.193.1 with SMTP id v1mr3392257rvp.76.1234143313890; Sun, 08 Feb 2009 17:35:13 -0800 (PST) In-Reply-To: References: Date: Mon, 09 Feb 2009 01:35:00 -0000 Message-ID: Subject: Re: RFC: add ability to "source" Python code From: Doug Evans To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00196.txt.bz2 On Sat, Feb 7, 2009 at 5:16 PM, Tom Tromey wrote: > With this patch, a file ending in ".py" is automatically treated as > Python. Also, other files can be interpreted as Python code by using > the "-p" switch. I made other switches into errors, on the theory > that maybe we'd want to take more later ... I'm not sure if this is a > good idea or not. It's easier to relax restrictions than it is to impose them after the fact. IOW, I think it's a good idea.