public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Add support for gdb.PYTHONDIR as $gdb_datadir/python.
Date: Thu, 24 Jun 2010 19:06:00 -0000	[thread overview]
Message-ID: <m3ocf06ykd.fsf@fleche.redhat.com> (raw)
In-Reply-To: <AANLkTin1M1bztznU1eO6T3aArN4IL70ZFYrwzAyVIph_@mail.gmail.com>	(Doug Evans's message of "Thu, 24 Jun 2010 11:39:11 -0700")

>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> The execfile of __init__.py feels odd.  I haven't seen it done
Doug> elsewhere and I wonder if it's needed.
Doug> [I know python has __init__.py, I just don't know if we have to
Doug> *explicitly* exec it.]

Normally, no, but in this case we do because the "gdb" module is created
in C code, not via an import.

Tom

  reply	other threads:[~2010-06-24 19:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24 18:19 Joel Brobecker
2010-06-24 18:39 ` Doug Evans
2010-06-24 19:06   ` Tom Tromey [this message]
2010-06-24 19:06     ` Doug Evans
2010-06-24 19:14 ` Tom Tromey
2010-06-24 22:53   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ocf06ykd.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).