RFC: add ability to "source" Python code

Doug Evans dje@google.com
Mon Feb 9 01:35:00 GMT 2009


On Sat, Feb 7, 2009 at 5:16 PM, Tom Tromey <elpa@tromey.com> 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.



More information about the Gdb-patches mailing list